git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4666e
)
r1415: One more memory leak, found by valgrind..
author
Jeremy Allison
<jra@samba.org>
Fri, 9 Jul 2004 00:59:06 +0000
(
00:59
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:52:11 +0000
(10:52 -0500)
Jeremy.
source/rpc_server/srv_pipe.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/srv_pipe.c
b/source/rpc_server/srv_pipe.c
index 2232f0bc2436073e9529278892389f7f371bcbbb..c5b0b5694d5f89c1bfb4469a839c8814db8bcbcd 100644
(file)
--- a/
source/rpc_server/srv_pipe.c
+++ b/
source/rpc_server/srv_pipe.c
@@
-501,6
+501,9
@@
succeeded authentication on named pipe %s, but session key was of incorrect leng
* Store the UNIX credential data (uid/gid pair) in the pipe structure.
*/
+ if (p->session_key.data) {
+ data_blob_free(&p->session_key);
+ }
p->session_key = data_blob(server_info->lm_session_key.data, server_info->lm_session_key.length);
p->pipe_user.uid = server_info->uid;