From 74046c8054d2afe7da51c1ff09ffd594a9cb8b73 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 14 Jul 2009 18:33:01 +0200 Subject: TALLOC_FREE(sd) in check_open_rights upon an error --- source3/smbd/open.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/open.c') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index e01350f2bf..404461fb5e 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -94,6 +94,7 @@ static NTSTATUS check_open_rights(struct connection_struct *conn, "on %s: %s\n", smb_fname_str_dbg(smb_fname), nt_errstr(status))); + TALLOC_FREE(sd); return status; } -- cgit