Skip to content

Commit

Permalink
rgw: RGWReadRemoteDataLogShardCR fix destructor
Browse files Browse the repository at this point in the history
was missing destructor, constructor was broken

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 95162a4)
  • Loading branch information
yehudasa committed May 9, 2016
1 parent 2de1669 commit 93a65f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rgw/rgw_data_sync.cc
Expand Up @@ -173,6 +173,8 @@ class RGWReadRemoteDataLogShardCR : public RGWCoroutine {
pmarker(_pmarker),
entries(_entries),
truncated(_truncated) {
}
~RGWReadRemoteDataLogShardCR() {
if (http_op) {
http_op->put();
}
Expand Down

0 comments on commit 93a65f3

Please sign in to comment.