git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2babe18
)
s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default...
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Dec 2008 22:11:17 +0000
(14:11 -0800)
committer
Jeremy Allison
<jra@samba.org>
Mon, 1 Dec 2008 22:11:17 +0000
(14:11 -0800)
metze
source/modules/vfs_streams_depot.c
patch
|
blob
|
history
diff --git
a/source/modules/vfs_streams_depot.c
b/source/modules/vfs_streams_depot.c
index e45f771d77a809be5ace37f2f04f643f61dcbe54..eda0b99aad376c0e4539646b08e073e487edc453 100644
(file)
--- a/
source/modules/vfs_streams_depot.c
+++ b/
source/modules/vfs_streams_depot.c
@@
-128,7
+128,6
@@
static char *stream_dir(vfs_handle_struct *handle, const char *base_path,
rootdir = lp_parm_const_string(
SNUM(handle->conn), "streams_depot", "directory",
tmp);
- TALLOC_FREE(tmp);
if (base_sbuf == NULL) {
if (SMB_VFS_NEXT_STAT(handle, base_path, &sbuf) == -1) {