1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

r11516: Fix a valgrind bug I introduce with queued requests

(This used to be commit 3e4ab756f421acd747e9ea4c48b0f61d48dfa8fd)
This commit is contained in:
Volker Lendecke 2005-11-05 09:32:15 +00:00 committed by Gerald (Jerry) Carter
parent baff088fed
commit 687dea8de6

View File

@ -856,13 +856,16 @@ req_done:
req->state = RPC_REQUEST_DONE;
DLIST_REMOVE(c->pending, req);
data_blob_free(data);
if (req->async.callback) {
req->async.callback(req);
}
if (c->request_queue != NULL) {
/* We have to look at shipping further requests before calling
* the async function, that one might close the pipe */
dcerpc_ship_next_request(c);
}
if (req->async.callback) {
req->async.callback(req);
}
}
/*