]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pysmbd: remove useless explicit conn_free() from set_nt_acl_conn()
authorStefan Metzmacher <metze@samba.org>
Fri, 25 May 2018 05:38:24 +0000 (07:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 14 Jun 2018 18:52:20 +0000 (20:52 +0200)
The following TALLOC_FREE(frame); will do the same via
conn_free_wrapper().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/pysmbd.c

index daaf95cb6658c348e9eb9cb85c2fe7dfcb8af554..592cdf73f0a2e73684d4c5e4a20d8da8110c2813 100644 (file)
@@ -194,7 +194,6 @@ static NTSTATUS set_nt_acl_conn(const char *fname,
 
        SMB_VFS_CLOSE(fsp);
 
-       conn_free(conn);
        TALLOC_FREE(frame);
 
        umask(saved_umask);