diff options
author | Yehuda Sadeh <yehuda.sadeh@dreamhost.com> | 2012-01-30 16:48:15 -0800 |
---|---|---|
committer | Yehuda Sadeh <yehuda.sadeh@dreamhost.com> | 2012-01-30 16:48:15 -0800 |
commit | 2b5bbe8e9e80552f853fcb901fe62aa4e0299b48 (patch) | |
tree | 0ccafea2ce90146f523dab175126ed7d49aa372a | |
parent | 2116f012eddfe3278fcdfeb5a2ddc877491d210d (diff) | |
download | ceph-2b5bbe8e9e80552f853fcb901fe62aa4e0299b48.tar.gz |
librados: fix a leak
watch notification message was missing a ->put()
Signed-off-by: Yehuda Sadeh <yehuda.sadeh@dreamhost.com>
-rw-r--r-- | src/librados.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librados.cc b/src/librados.cc index d9cd8adb38c..9e728982a4c 100644 --- a/src/librados.cc +++ b/src/librados.cc @@ -2439,6 +2439,8 @@ void librados::RadosClient::watch_notify(MWatchNotify *m) return; wc->notify(this, m); + + m->put(); } int librados::RadosClient::watch(IoCtxImpl& io, const object_t& oid, uint64_t ver, |