]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: fix use-after-free on session close and cond signals
authorSage Weil <sage@inktank.com>
Mon, 1 Apr 2013 04:05:49 +0000 (21:05 -0700)
committerSage Weil <sage@inktank.com>
Mon, 1 Apr 2013 04:43:57 +0000 (21:43 -0700)
commit74c708367bb01ec5f80b31e239f8868e9b065800
treee5724e9b60dd183ee056b3386e05118f7e2bef4e
parent95c4a81be1af193786d0483fcbe81104d3da7c40
client: fix use-after-free on session close and cond signals

Move the signal into the closed method, before we deallocate the
MetaSession, so that other callers catch it too.

Signed-off-by: Sage Weil <sage@inktank.com>
src/client/Client.cc