s3:libsmb fix a double free error
authorChristian Ambach <ambi@samba.org>
Mon, 17 Sep 2012 04:45:56 +0000 (21:45 -0700)
committerChristian Ambach <ambi@samba.org>
Mon, 17 Sep 2012 20:04:13 +0000 (22:04 +0200)
t refers to self->thread_state that is freed a few lines below

Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Mon Sep 17 22:04:13 CEST 2012 on sn-devel-104

source3/libsmb/pylibsmb.c

index 611d07abae27e4d9b7d50acbf44966d59ed87dc2..d31409cba85d5c56538c4d1a474c5aae7448cc49 100644 (file)
@@ -213,7 +213,6 @@ fail:
                        close(t->shutdown_pipe[1]);
                        t->shutdown_pipe[1] = -1;
                }
-               TALLOC_FREE(t);
        }
 
        TALLOC_FREE(self->thread_state);