rgw: clean async rest ops in calling cr

Need to drop a reference to the async rest op when done.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2016-04-17 18:37:25 -07:00
parent 2a1541809b
commit ea2c703287

View File

@ -51,6 +51,12 @@ public:
}
return 0;
}
void request_cleanup() {
if (http_op) {
http_op->put();
}
}
};
template <class S, class T>
@ -113,6 +119,12 @@ public:
}
return 0;
}
void request_cleanup() {
if (http_op) {
http_op->put();
}
}
};
#endif