summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-16 15:44:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:52 -0500
commitbcc7bdcfe38673ab9a409b94d525ca5c09e0e591 (patch)
treec3ed7f9cd066ff968d028cb1f9f3941dc3b966b3 /source3
parent53f5c4adfbf12fbf6f25eab3260d22a2d7c3efbe (diff)
downloadsamba-bcc7bdcfe38673ab9a409b94d525ca5c09e0e591.tar.gz
samba-bcc7bdcfe38673ab9a409b94d525ca5c09e0e591.tar.bz2
samba-bcc7bdcfe38673ab9a409b94d525ca5c09e0e591.zip
r24497: Revert r24485 -- this needs more thought
(This used to be commit 01f701ba1ea9859b090aaf8f4ae9722c5502316c)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 6ab179a316..d5c22e81c3 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -603,8 +603,8 @@ NTSTATUS unix_convert(connection_struct *conn,
done:
result = NT_STATUS_OK;
- fail:
pstrcpy(orig_path, name);
+ fail:
SAFE_FREE(name);
SAFE_FREE(dirpath);
return result;