Remove a redundant TALLOC_FREE
[jra/samba/.git] / source / modules / vfs_aio_fork.c
index 28428f2e498ad2a9646a87b9f5a003c5eaa3908a..7914e8f4014519e8392c7eca6ed755746005d34f 100644 (file)
@@ -436,7 +436,6 @@ 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;
        }