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:
e570fb7
)
tldap talloc_realloc
author
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Jan 2012 22:08:36 +0000
(23:08 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:47:01 +0000
(18:47 +0200)
source3/lib/tldap.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index 8b04d0063675e137c6fd2d25fba42bfd229f8081..d039f9548af8f83958694fc165a61509609011f7 100644
(file)
--- a/
source3/lib/tldap.c
+++ b/
source3/lib/tldap.c
@@
-474,7
+474,7
@@
static void tldap_msg_unset_pending(struct tevent_req *req)
* No NULL check here, we're shrinking by sizeof(void *), and
* talloc_realloc just adjusts the size for this.
*/
- ld->pending = talloc_realloc(
NULL
, ld->pending, struct tevent_req *,
+ ld->pending = talloc_realloc(
ld
, ld->pending, struct tevent_req *,
num_pending - 1);
return;
}