]> git-server-git.apps.pok.os.sepia.ceph.com Git - jerasure.git/commit
jerasure.c: free memory before return in error case
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 22 Mar 2014 20:58:53 +0000 (21:58 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 22 Apr 2014 18:52:07 +0000 (20:52 +0200)
commitb14af86424e3cb8c89c0f2fd2b856580e446fba4
tree513e59abc5cd1aa36440cff59eec2838d0180bfb
parent4b6c76c659047e59f51904282a53ae7d9b2a0bb7
jerasure.c: free memory before return in error case

Fix for Coverity issue from Ceph project:

CID 1093211 (#1 of 1): Resource leak (RESOURCE_LEAK)
 20. leaked_storage: Variable "ind_to_row" going out of scope leaks
 the storage it points to.

CID 1093212 (#1 of 1): Resource leak (RESOURCE_LEAK)
 20. leaked_storage: Variable "row_ids" going out of scope leaks the
 storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/jerasure.c