]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
c_write_operations.cc: fix some ioctx resource leaks
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 1 Mar 2014 10:36:18 +0000 (11:36 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 1 Mar 2014 10:36:18 +0000 (11:36 +0100)
commitad9b6d2f7a0220354b28645ae15fbb7ed734c87c
treefd5c173c613d313404ee5f89877e1adccf2b6908
parente8533ee4c9fb5dbe06373f2f0a194a81ea3cf25a
c_write_operations.cc: fix some ioctx resource leaks

CID 1160833 (#3 of 3): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable "ioctx" going out of scope leaks the storage
 it points to

CID 1160835 (#3 of 3): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable "ioctx" going out of scope leaks the storage
 it points to.

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

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