From: Volker Lendecke Date: Sun, 15 Jul 2007 09:40:00 +0000 (+0000) Subject: r23878: Fix an error return, found by the IBM checker X-Git-Tag: samba-4.0.0alpha6~801^2~5357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e84f8662e6af515aba5db7ffd874ad5da97188bf;p=thirdparty%2Fsamba.git r23878: Fix an error return, found by the IBM checker (This used to be commit a369c67f6678bdcc0689929238bc96f45cdeeb25) --- diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index cf6613aa711..824c32867ac 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;