]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
scratchtool.c: fix resource leak
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 26 Jun 2014 00:46:30 +0000 (02:46 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 26 Jun 2014 00:50:29 +0000 (02:50 +0200)
commitbdb134607dd11cf112db9caf8dbbdf486a3457e4
treeacd47e601549616ac78dc1e57abe4ffb7a3789a7
parent56cad1a8a5dfafe196c71ecf7af15010e3d0e6a2
scratchtool.c: fix resource leak

CID 1219612 (#1 - 3): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable iter going out of scope leaks the
 storage it points to.

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