git.samba.org
/
ambi
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03e976
)
s3: Fix Coverity ID 710827 Resource leak
author
Volker Lendecke
<vl@samba.org>
Mon, 30 Jul 2012 12:41:42 +0000
(14:41 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 31 Jul 2012 09:40:22 +0000
(11:40 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/vfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index 349f0a0b2f93bc5e49540113bfbf35c98af901d6..474e476f3d525d56aa498b37ba8869c9278909fb 100644
(file)
--- 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;
}