Skip to content

Commit

Permalink
Merge pull request ceph#320 from dalgaaf/wip-da-CID-727983
Browse files Browse the repository at this point in the history
kv_flat_btree_async.cc: fix resource leak
  • Loading branch information
Sage Weil committed May 27, 2013
2 parents 615b54c + 7b438e1 commit 35a8c61
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 @@ -1815,6 +1815,7 @@ int KvFlatBtreeAsync::set_many(const map<string, bufferlist> &in_map) {
io_ctx.aio_exec(index_name, aioc, "kvs", "read_many", inbl, &outbl);
aioc->wait_for_safe();
err = aioc->get_return_value();
aioc->release();
if (err < 0) {
cerr << "getting index failed with " << err << std::endl;
return err;
Expand Down

0 comments on commit 35a8c61

Please sign in to comment.