]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: fix leak of WatchContext on unwatch 3277/head
authorSage Weil <sage@redhat.com>
Mon, 5 Jan 2015 17:36:43 +0000 (09:36 -0800)
committerSage Weil <sage@redhat.com>
Mon, 5 Jan 2015 17:36:43 +0000 (09:36 -0800)
commit5cf84e6393f1fa8c3bebc815bd6ca9ad05dc9e7c
tree5df830e210dba4953c01d6a7b83d070c2c3f85a0
parent7d75f0cf76fe4f4c37cb053435dc16402c449e48
librados: fix leak of WatchContext on unwatch

The lifecycle matches that of the watch linger_op.  Note that it is NULL
for notify.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Objecter.h