diff --git a/source3/client/client.c b/source3/client/client.c index 8e29224918d..c4d309958cd 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -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); }