]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs/test.cc: shutdown cmount at end of MountNonExist
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 13 Mar 2014 10:21:42 +0000 (11:21 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 13 Mar 2014 10:21:42 +0000 (11:21 +0100)
commit7cf81ce21438d106f73f937b16a541a944670fbf
tree4a54115b34d0359014120726854f585b752d1cd2
parent269cf138b73c1e0053ee60e358c534466472e54e
libcephfs/test.cc: shutdown cmount at end of MountNonExist

CID 966624 (#5 of 5): Resource leak (RESOURCE_LEAK)
 17. leaked_storage: Variable "cmount" going out of scope leaks the
 storage it points to.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/libcephfs/test.cc