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-misc-tags/initial-v3-2-unstable~717 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a369c67f6678bdcc0689929238bc96f45cdeeb25;p=thirdparty%2Fsamba.git r23878: Fix an error return, found by the IBM checker --- diff --git a/source/smbd/filename.c b/source/smbd/filename.c index cf6613aa711..824c32867ac 100644 --- a/source/smbd/filename.c +++ b/source/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;