1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-24 21:49:29 +03:00

s3:streams_depot: fix valgrind bug lp_parm_const_string() doesn't talloc the default value

metze
This commit is contained in:
Stefan Metzmacher
2008-12-01 14:11:33 -08:00
committed by Jeremy Allison
parent 549c2cb7a8
commit d53f82a1cf

View File

@ -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) {