From: Bert Hubert Date: Wed, 12 Apr 2006 15:36:26 +0000 (+0000) Subject: fix memory leak (Dan Bilik ) - thanks! X-Git-Tag: rec-3-0~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b70b8c7a130340fa697cd704f486901c9c9293d;p=pdns fix memory leak (Dan Bilik ) - thanks! git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@684 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/webserver.cc b/pdns/webserver.cc index 6fd15d75c..85203bde3 100644 --- a/pdns/webserver.cc +++ b/pdns/webserver.cc @@ -48,6 +48,7 @@ void WebServer::setCaller(void *that) void *WebServer::serveConnection(void *p) { + pthread_detach(pthread_self()); Session *client=static_cast(p); try { string line;