fix memory leak when easy deserializing rpc results
This commit is contained in:
@ -126,7 +126,7 @@ int async_cb(easy_request_t *r)
|
|||||||
|
|
||||||
if (cb_cloned) {
|
if (cb_cloned) {
|
||||||
LOG_DEBUG("reset rcode", K(cb_cloned));
|
LOG_DEBUG("reset rcode", K(cb_cloned));
|
||||||
cb->reset_rcode();
|
cb->~AsyncCB();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user