]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mount.ceph.c: fix resource leak
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 20 Feb 2017 15:41:49 +0000 (16:41 +0100)
committerKefu Chai <kchai@redhat.com>
Mon, 10 Apr 2017 10:16:17 +0000 (18:16 +0800)
commitbbceab593967f4ef9e572b15d59f8936bd1040b1
treec9ad157d2591badb703eb25be50021e3f48ec890
parent5202b9f95ff7574406f39dff3d697209c282b94a
mount.ceph.c: fix resource leak

Addressed issue:

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

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