Revert "Remove a redundant TALLOC_FREE"
authorVolker Lendecke <vl@samba.org>
Fri, 25 Apr 2008 14:45:17 +0000 (16:45 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 25 Apr 2008 14:45:17 +0000 (16:45 +0200)
This reverts commit 8e348ab8652e1893be78384404f57df1dbbcea48.

source/modules/vfs_aio_fork.c

index 7914e8f4014519e8392c7eca6ed755746005d34f..28428f2e498ad2a9646a87b9f5a003c5eaa3908a 100644 (file)
@@ -436,6 +436,7 @@ static NTSTATUS create_aio_child(struct aio_child_list *children,
        if (socketpair(AF_UNIX, SOCK_STREAM, 0, fdpair) == -1) {
                status = map_nt_error_from_unix(errno);
                DEBUG(10, ("socketpair() failed: %s\n", strerror(errno)));
+               TALLOC_FREE(result);
                goto fail;
        }