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:
78768dd
)
smbXcli_base talloc_realloc
author
Stefan Metzmacher
<metze@samba.org>
Wed, 4 Jan 2012 22:08:07 +0000
(23:08 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:47:00 +0000
(18:47 +0200)
libcli/smb/smbXcli_base.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smbXcli_base.c
b/libcli/smb/smbXcli_base.c
index eb9e7d55cfe59891b8d6112e4af738fda57a6ccd..fe85b3168054e29c1dcd19d476b2613799bac802 100644
(file)
--- a/
libcli/smb/smbXcli_base.c
+++ b/
libcli/smb/smbXcli_base.c
@@
-731,7
+731,7
@@
void smbXcli_req_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.
*/
- conn->pending = talloc_realloc(
NULL
, conn->pending, struct tevent_req *,
+ conn->pending = talloc_realloc(
conn
, conn->pending, struct tevent_req *,
num_pending - 1);
return;
}