diff options
author | Samuel Just <sam.just@inktank.com> | 2013-04-19 04:38:01 +0200 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-04-20 02:10:22 +0200 |
commit | 75cb55b4e2791ce299cb05fe6ab224b86145a5b6 (patch) | |
tree | 300b425e615badd1b2fd6a8ced5cdce39c4e4cfa /src/common/AsyncReserver.h | |
parent | OpRequest: don't maintain history if the OSD is shutting down (diff) | |
download | ceph-75cb55b4e2791ce299cb05fe6ab224b86145a5b6.tar.xz ceph-75cb55b4e2791ce299cb05fe6ab224b86145a5b6.zip |
AsyncReserver: delete context in cancel_reservation
Fixes: #4662
Backport: bobtail
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/common/AsyncReserver.h')
-rw-r--r-- | src/common/AsyncReserver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/AsyncReserver.h b/src/common/AsyncReserver.h index 638bfb3a1b1..582b3beef7a 100644 --- a/src/common/AsyncReserver.h +++ b/src/common/AsyncReserver.h @@ -90,6 +90,7 @@ public: ) { Mutex::Locker l(lock); if (queue_pointers.count(item)) { + delete queue_pointers[item]->second; queue.erase(queue_pointers[item]); queue_pointers.erase(item); } else { |