fncall talloc_realloc
authorStefan Metzmacher <metze@samba.org>
Wed, 4 Jan 2012 22:08:23 +0000 (23:08 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 May 2012 16:47:00 +0000 (18:47 +0200)
source3/lib/fncall.c

index 79bf8260d9393ca315fe6363de4d81973bfac3ca..1e8f875ac6bb3e62e8a957501bcbf3cbad2fefb1 100644 (file)
@@ -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);
 }