summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-15 09:40:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:37 -0500
commite84f8662e6af515aba5db7ffd874ad5da97188bf (patch)
treea7fef57b6415f17ce1af8126d0759d026cf66830 /source3
parent3912eebdc94021d6be9fd9e0115b8b67f241b9bc (diff)
downloadsamba-e84f8662e6af515aba5db7ffd874ad5da97188bf.tar.gz
samba-e84f8662e6af515aba5db7ffd874ad5da97188bf.tar.bz2
samba-e84f8662e6af515aba5db7ffd874ad5da97188bf.zip
r23878: Fix an error return, found by the IBM checker
(This used to be commit a369c67f6678bdcc0689929238bc96f45cdeeb25)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/filename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index cf6613aa71..824c32867a 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -515,6 +515,7 @@ NTSTATUS unix_convert(connection_struct *conn,
if (tmp == NULL) {
DEBUG(0, ("malloc failed\n"));
result = NT_STATUS_NO_MEMORY;
+ goto fail;
}
SAFE_FREE(name);
name = tmp;