mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r238: Fix memleak
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
b4429d9743
commit
fe7daa3b8a
@@ -1114,6 +1114,9 @@ static BOOL close_internal_rpc_pipe_hnd(void *np_conn)
|
||||
/* Free the handles database. */
|
||||
close_policy_by_pipe(p);
|
||||
|
||||
if (p->session_key.data != NULL)
|
||||
data_blob_free(&p->session_key);
|
||||
|
||||
delete_nt_token(&p->pipe_user.nt_user_token);
|
||||
SAFE_FREE(p->pipe_user.groups);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user