mirror of
https://github.com/samba-team/samba.git
synced 2025-03-25 14:50:24 +03:00
Automatically free the request once the callback has returned.
(This used to be ctdb commit 2b3904d3113737d57ac0ec78f33ad163ed7f623c)
This commit is contained in:
parent
53ea238c6c
commit
e999119d40
@ -240,6 +240,7 @@ static void handle_incoming(struct ctdb_connection *ctdb, struct io_elem *in)
|
||||
DLIST_REMOVE(ctdb->doneq, i);
|
||||
i->reply = in;
|
||||
i->callback(ctdb, i, i->priv_data);
|
||||
ctdb_request_free(i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user