git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e613997
)
fncall talloc_realloc
author
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Jan 2012 22:08:23 +0000
(23:08 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:47:00 +0000
(18:47 +0200)
source3/lib/fncall.c
patch
|
blob
|
history
diff --git
a/source3/lib/fncall.c
b/source3/lib/fncall.c
index 79bf8260d9393ca315fe6363de4d81973bfac3ca..1e8f875ac6bb3e62e8a957501bcbf3cbad2fefb1 100644
(file)
--- 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);
}