From e570fb7e48f431bec87ae21bfe3484459621b6a1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 4 Jan 2012 23:08:23 +0100 Subject: [PATCH] fncall talloc_realloc --- source3/lib/fncall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/fncall.c b/source3/lib/fncall.c index 79bf8260d939..1e8f875ac6bb 100644 --- a/source3/lib/fncall.c +++ b/source3/lib/fncall.c @@ -203,7 +203,7 @@ static void fncall_unset_pending(struct tevent_req *req) if (num_pending > 1) { ctx->pending[i] = ctx->pending[num_pending-1]; } - ctx->pending = talloc_realloc(NULL, ctx->pending, struct tevent_req *, + ctx->pending = talloc_realloc(ctx, ctx->pending, struct tevent_req *, num_pending - 1); } -- 2.34.1