diff options
author | Volker Lendecke <vl@samba.org> | 2012-07-30 14:41:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-07-31 11:40:22 +0200 |
commit | 2ddc3a280e14858ead92deca153588fe9f454e76 (patch) | |
tree | 98dd60957a3eb9ed498feb60ac431b541cab849f | |
parent | c03e9769cdaca15a8c1ced21374c4d7bd50a6300 (diff) | |
download | samba-2ddc3a280e14858ead92deca153588fe9f454e76.tar.gz samba-2ddc3a280e14858ead92deca153588fe9f454e76.tar.bz2 samba-2ddc3a280e14858ead92deca153588fe9f454e76.zip |
s3: Fix Coverity ID 710827 Resource leak
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/smbd/vfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 349f0a0b2f..474e476f3d 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -1086,6 +1086,7 @@ NTSTATUS check_reduced_name_with_privilege(connection_struct *conn, if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(priv_paths); } + TALLOC_FREE(dir_name); return status; } |