mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
cli-quotas: fix potential memory leak
Fix a memory leak in out-of-memory condition Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Dec 13 22:30:44 CET 2016 on sn-devel-144
This commit is contained in:
parent
2c02146a84
commit
c0549aea68
@ -2682,7 +2682,7 @@ NTSTATUS cli_smb2_set_fs_quota_info(struct cli_state *cli,
|
||||
|
||||
status = build_fs_quota_buffer(talloc_tos(), pqt, &inbuf, 0);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
status = smb2cli_set_info(
|
||||
|
Loading…
Reference in New Issue
Block a user