summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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;