git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d775ad4
)
r23823: Memory leak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>
author
Volker Lendecke
<vlendec@samba.org>
Wed, 11 Jul 2007 06:18:32 +0000
(06:18 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:28:30 +0000
(12:28 -0500)
Thanks!
Volker
(This used to be commit
17b875ae5bab9473f0f896e63fff4a65588c2fb8
)
source3/smbd/ipc.c
patch
|
blob
|
history
diff --git
a/source3/smbd/ipc.c
b/source3/smbd/ipc.c
index c2b780ae74a3b1de6c97bee0020f66e8d8afd1e7..769147926f793f257f6e27a544495821f62cefd6 100644
(file)
--- a/
source3/smbd/ipc.c
+++ b/
source3/smbd/ipc.c
@@
-603,6
+603,8
@@
int reply_trans(connection_struct *conn,
DEBUG(0,("reply_trans: setup malloc fail for %u "
"bytes !\n", (unsigned int)
(state->setup_count * sizeof(uint16))));
+ SAFE_FREE(state->data);
+ SAFE_FREE(state->param);
TALLOC_FREE(state);
END_PROFILE(SMBtrans);
return(ERROR_DOS(ERRDOS,ERRnomem));