From: Christian Ambach Date: Mon, 17 Sep 2012 04:45:56 +0000 (-0700) Subject: s3:libsmb fix a double free error X-Git-Tag: ldb-1.1.13~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b06dbfbba6bf62fd99067675dd9818d6314fd2d0;p=thirdparty%2Fsamba.git s3:libsmb fix a double free error t refers to self->thread_state that is freed a few lines below Autobuild-User(master): Christian Ambach Autobuild-Date(master): Mon Sep 17 22:04:13 CEST 2012 on sn-devel-104 --- diff --git a/source3/libsmb/pylibsmb.c b/source3/libsmb/pylibsmb.c index 611d07abae2..d31409cba85 100644 --- a/source3/libsmb/pylibsmb.c +++ b/source3/libsmb/pylibsmb.c @@ -213,7 +213,6 @@ fail: close(t->shutdown_pipe[1]); t->shutdown_pipe[1] = -1; } - TALLOC_FREE(t); } TALLOC_FREE(self->thread_state);