Skip to content

Commit

Permalink
Merge pull request ceph#321 from dalgaaf/wip-da-CID-727981
Browse files Browse the repository at this point in the history
kv_flat_btree_async.cc: fix AioCompletion resource leak
  • Loading branch information
Sage Weil committed May 27, 2013
2 parents 35a8c61 + 0f54748 commit f0958c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/key_value_store/kv_flat_btree_async.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2169,6 +2169,7 @@ string KvFlatBtreeAsync::str() {
io_ctx.aio_operate(index_name, top_aioc, &oro, NULL);
top_aioc->wait_for_safe();
err = top_aioc->get_return_value();
top_aioc->release();
if (err < 0 && err != -5){
if (verbose) cout << "getting keys failed with error " << err << std::endl;
return ret.str();
Expand Down

0 comments on commit f0958c3

Please sign in to comment.