From f609404489a37b80e2f7f10d0de7633766d159a9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 1 Dec 2008 14:11:17 -0800 Subject: [PATCH] s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default value metze --- source/modules/vfs_streams_depot.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/modules/vfs_streams_depot.c b/source/modules/vfs_streams_depot.c index e45f771d77a..eda0b99aad3 100644 --- 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) { -- 2.11.4.GIT