diff options
Diffstat (limited to 'source3/lib/ctdb_packet.c')
-rw-r--r-- | source3/lib/ctdb_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ctdb_packet.c b/source3/lib/ctdb_packet.c index 9faf519a60..17c70ff2d6 100644 --- a/source3/lib/ctdb_packet.c +++ b/source3/lib/ctdb_packet.c @@ -153,7 +153,7 @@ bool ctdb_packet_handler(struct ctdb_packet_context *ctx, ctx->in.data = NULL; ctx->in.length = 0; } else { - buf = (uint8_t *)TALLOC_MEMDUP(ctx, ctx->in.data, length); + buf = (uint8_t *)talloc_memdup(ctx, ctx->in.data, length); if (buf == NULL) { *status = NT_STATUS_NO_MEMORY; return true; |