]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librados/c_write_operations.cc: free ressources
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 9 Oct 2014 13:29:45 +0000 (15:29 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 9 Oct 2014 13:31:52 +0000 (15:31 +0200)
commitc60a17075db8a90a65dda1f1a26c035c1ffc73b9
treee909aada79bdd1284c3d90264c80b0bba51d3545
parent042c5362bbc8a051479551b1ec4086b40504ea6a
test/librados/c_write_operations.cc: free ressources

Release completion as soon as no longer needed.

Fix for:

CID 1219593 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Variable completion 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