]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-filestore-dump.cc: cleanup resource in error case
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 13 May 2013 09:42:23 +0000 (11:42 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 14 May 2013 16:39:30 +0000 (18:39 +0200)
commitdf4c099af477e3197b4b14b9f4242a5b41c2fce5
tree857674ca035a47f198422ce1a1d2e53cc1047a56
parentc5deb5dbe2a1e7ada1cab778da41ddb30d9c880b
ceph-filestore-dump.cc: cleanup resource in error case

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

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/tools/ceph-filestore-dump.cc