diff options
author | Volker Lendecke <vl@samba.org> | 2009-07-14 18:33:01 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-14 20:49:05 +0200 |
commit | 74046c8054d2afe7da51c1ff09ffd594a9cb8b73 (patch) | |
tree | 985948e4a7e9787ef7a6c39731fd76d863222d36 /source3 | |
parent | d57e67f9eb5a6a05f0e173d48e86dd1fe050635e (diff) | |
download | samba-74046c8054d2afe7da51c1ff09ffd594a9cb8b73.tar.gz samba-74046c8054d2afe7da51c1ff09ffd594a9cb8b73.tar.bz2 samba-74046c8054d2afe7da51c1ff09ffd594a9cb8b73.zip |
TALLOC_FREE(sd) in check_open_rights upon an error
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |