]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r6204: Fix double-free of talloc context.
authorJeremy Allison <jra@samba.org>
Tue, 5 Apr 2005 01:24:04 +0000 (01:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:28 +0000 (10:56 -0500)
Jeremy.

source/smbd/nttrans.c

index 6421a14b28fcc2cf03fbb2376fabfbc6b97a5199..d878df66368f907631f0b66892338bc27c2d290b 100644 (file)
@@ -1554,7 +1554,6 @@ static int call_nt_transact_create(connection_struct *conn, char *inbuf, char *o
        }
 
        restore_case_semantics(conn, file_attributes);
-       talloc_destroy(ctx);
 
        file_len = sbuf.st_size;
        fmode = dos_mode(conn,fname,&sbuf);