]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWDataSyncStatusManager, cleanup if failing init
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 3 May 2016 01:13:17 +0000 (18:13 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 9 May 2016 21:36:40 +0000 (14:36 -0700)
commit14cd44e0847fd914068f48dd0208ce7c1fe4eecb
tree89fcbff859edc9098f3f2812a6d46ca7413c5ea5
parenta3a3f4f5883f3fc2bf47a7ebfa538206b7ab51d9
rgw: RGWDataSyncStatusManager, cleanup if failing init

init can be called more than once, ended up with leaking some resources

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_data_sync.cc
src/rgw/rgw_data_sync.h
src/rgw/rgw_rados.cc