summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-23 18:32:35 -0800
committerJeremy Allison <jra@samba.org>2011-02-24 04:17:49 +0100
commit9e93dacfc6020deab9f15353ae32512a58e7b4b8 (patch)
tree6eaac8703d9cecbf9840d3000e32c3ae3c51c537
parent916e82823b56a70d7761644b38a250ea8c38e204 (diff)
downloadsamba-9e93dacfc6020deab9f15353ae32512a58e7b4b8.tar.gz
samba-9e93dacfc6020deab9f15353ae32512a58e7b4b8.tar.bz2
samba-9e93dacfc6020deab9f15353ae32512a58e7b4b8.zip
Remember to free the second temporary string.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 24 04:17:49 CET 2011 on sn-devel-104
-rw-r--r--source3/smbd/open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 56c7d03a2c..cd3fb06f25 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -3540,6 +3540,7 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn,
out:
TALLOC_FREE(parent_fname);
+ TALLOC_FREE(new_base_name);
return status;
}