]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv_flat_btree_async.cc: fix AioCompletion resource leak 321/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 24 May 2013 12:47:49 +0000 (14:47 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 24 May 2013 12:50:34 +0000 (14:50 +0200)
commit0f5474834a411c3fe1dd288bf7d9ccac5500907e
tree0febb869c3ea9cdcb8f7bd15e16b524aff1938a2
parentbb407bfd101d9707c63655cb3c1b51346a0de8cd
kv_flat_btree_async.cc: fix AioCompletion resource leak

Call AioCompletion::release() if the completion is no longer
needed to free the resources.

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

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