diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-24 17:46:54 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-24 17:46:54 +0200 |
commit | 8f60ea029a81e1419c4b6f95a1fdf4b166c4efd2 (patch) | |
tree | 6b6eb840b3adf3a596da05749b91552c4c9d39ab /lib/sqfshelper/write_xattr.c | |
parent | 2354f7b5cfc289fdec95eeecb8d441c20513712b (diff) |
Fix memory and pointer leaks in data reader error paths
Make sure that the block cache pointers are reset to NULL after
freeing them, the get_block function does not update them on failure.
Also, make sure all error paths in the get_block function actually
clean up the allocated memory.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfshelper/write_xattr.c')
0 files changed, 0 insertions, 0 deletions