mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
smbclient: Fix fd leak with "showacls;ls"
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15391 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jun 8 16:55:14 UTC 2023 on atb-devel-224
This commit is contained in:
parent
dc6edc4881
commit
5c52f71c0d
@ -626,6 +626,7 @@ static NTSTATUS display_finfo(struct cli_state *cli_state, struct file_info *fin
|
||||
display_sec_desc(sd);
|
||||
}
|
||||
TALLOC_FREE(sd);
|
||||
cli_close(targetcli, fnum);
|
||||
}
|
||||
TALLOC_FREE(afname);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user