summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-09-16 21:45:56 -0700
committerChristian Ambach <ambi@samba.org>2012-09-17 22:04:13 +0200
commitb06dbfbba6bf62fd99067675dd9818d6314fd2d0 (patch)
tree6ea6b80c7b311022a22ca58f557334e278b7cfba /source3/libsmb
parente7a58bc251bd74c3c7c64ee4f5cb85ec76852a8d (diff)
downloadsamba-b06dbfbba6bf62fd99067675dd9818d6314fd2d0.tar.gz
samba-b06dbfbba6bf62fd99067675dd9818d6314fd2d0.tar.bz2
samba-b06dbfbba6bf62fd99067675dd9818d6314fd2d0.zip
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 <ambi@samba.org> Autobuild-Date(master): Mon Sep 17 22:04:13 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/pylibsmb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libsmb/pylibsmb.c b/source3/libsmb/pylibsmb.c
index 611d07abae..d31409cba8 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);