mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r23823: Memory leak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>
Thanks! Volker
This commit is contained in:
parent
9794b94ebf
commit
17b875ae5b
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user