mirror of
https://github.com/samba-team/samba.git
synced 2025-12-03 04:23:50 +03:00
r1415: One more memory leak, found by valgrind..
Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7c4666e56c
commit
8cfaf575e5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user