]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Revert "rgw: use smart pointer for C_Reinitwatch"
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 4 Jan 2016 20:54:33 +0000 (12:54 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 4 Jan 2016 20:54:33 +0000 (12:54 -0800)
commit7bcb744d6b76aea3aebf065edfc231d6b5c42d2f
tree0fde951747f450da4839a737759de41cb7f45b69
parent91f286dd0f518ea19bc7fcf6400e5587e54c81c4
Revert "rgw: use smart pointer for C_Reinitwatch"

This commit introduced regressions, issues #14173, #14180.

The problem is that the context deletes itself after execution,
so using a shared_ptr to hold it is problematic, as we'll eventually
have a double free. Also, it doesn't solve the underlying leak issue.

This reverts commit e9daed221e7c6fd84aef78c3d5fc18470b916fcb.
src/rgw/rgw_rados.cc