summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-12-01 14:11:33 -0800
committerJeremy Allison <jra@samba.org>2008-12-01 14:11:33 -0800
commitd53f82a1cf9a369ae3e657fea845f19313f06eb4 (patch)
tree6418980269b165f60fa1547be0514bd6abb095de
parent549c2cb7a88340be4069a4d60a413627818aee9f (diff)
downloadsamba-d53f82a1cf9a369ae3e657fea845f19313f06eb4.tar.gz
samba-d53f82a1cf9a369ae3e657fea845f19313f06eb4.tar.bz2
samba-d53f82a1cf9a369ae3e657fea845f19313f06eb4.zip
s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default value
metze
-rw-r--r--source3/modules/vfs_streams_depot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c
index f8a8d97743..9e0a5895ea 100644
--- a/source3/modules/vfs_streams_depot.c
+++ b/source3/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) {