git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b6370e
)
r11644: free the buffer when it's not used
author
Stefan Metzmacher
<metze@samba.org>
Thu, 10 Nov 2005 14:16:50 +0000
(14:16 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:46:07 +0000
(13:46 -0500)
metze
(This used to be commit
16f2d92618a55188d260cadd144281b325cdacda
)
source4/libcli/raw/clitransport.c
patch
|
blob
|
history
diff --git
a/source4/libcli/raw/clitransport.c
b/source4/libcli/raw/clitransport.c
index 1cd706f11ee2aece6d0391fa6e4f7c3c27f45251..4fed2ed9a004dd1e6dcdd6de14de7adc9d50e967 100644
(file)
--- a/
source4/libcli/raw/clitransport.c
+++ b/
source4/libcli/raw/clitransport.c
@@
-479,6
+479,8
@@
error:
if (req) {
DLIST_REMOVE(transport->pending_recv, req);
req->state = SMBCLI_REQUEST_ERROR;
+ } else {
+ talloc_free(buffer);
}
return NT_STATUS_OK;
}