From: Stefan Metzmacher Date: Fri, 25 May 2018 05:38:24 +0000 (+0200) Subject: pysmbd: remove useless explicit conn_free() from set_nt_acl_conn() X-Git-Tag: tevent-0.9.37~370 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbde2e348b68a5d638d9bce3f3912a4828cd90c7;p=thirdparty%2Fsamba.git pysmbd: remove useless explicit conn_free() from set_nt_acl_conn() The following TALLOC_FREE(frame); will do the same via conn_free_wrapper(). Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c index daaf95cb665..592cdf73f0a 100644 --- a/source3/smbd/pysmbd.c +++ b/source3/smbd/pysmbd.c @@ -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);