summaryrefslogtreecommitdiff
path: root/lib/sqfshelper/comp_opt.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-24 17:46:54 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-24 17:46:54 +0200
commit8f60ea029a81e1419c4b6f95a1fdf4b166c4efd2 (patch)
tree6b6eb840b3adf3a596da05749b91552c4c9d39ab /lib/sqfshelper/comp_opt.c
parent2354f7b5cfc289fdec95eeecb8d441c20513712b (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/comp_opt.c')
0 files changed, 0 insertions, 0 deletions