[PATCH] ctdb-server: Introduce mem pool
Martin Schwenke
martin at meltin.net
Fri Mar 16 05:35:51 UTC 2018
Hi Swen,
On Fri, 09 Mar 2018 09:09:23 +0100, Swen Schillig via samba-technical
<samba-technical at lists.samba.org> wrote:
> Please review and push if OK.
- if ((rev_hdl = talloc_zero(ctdb_db, struct revokechild_handle)) == NULL) {
+ rev_hdl = talloc_pooled_object(ctdb_db, struct revokechild_handle, 2,
+ data.dsize + key.dsize);
I don't see where this function does an allocation of size
data.dsize. :-(
peace & happiness,
martin
More information about the samba-technical
mailing list