ceph/ceph — pull request #296 by dalgaaf (2013-05-17 11:55:48+00:00)
Title: librbd/internal.cc: fix resource leak

NOTE: not 100% sure this is the correct fix, so please review carefully.
----

Call release() on librados::AioCompletion to free storage before
leave the loop or call new again.

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

Signed-off-by: Danny Al-Gaaf