]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23878: Fix an error return, found by the IBM checker
authorVolker Lendecke <vlendec@samba.org>
Sun, 15 Jul 2007 09:40:00 +0000 (09:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:37 +0000 (12:28 -0500)
(This used to be commit a369c67f6678bdcc0689929238bc96f45cdeeb25)

source3/smbd/filename.c

index cf6613aa71166ff9112100a2782a0709a35647f3..824c32867ac5262f164e895a8afee82d003cdfe8 100644 (file)
@@ -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;