]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3133: Memory leak handling requests for sites that don't exist
authorStefan Fritsch <sf@sfritsch.de>
Fri, 20 Apr 2012 10:36:06 +0000 (04:36 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 20 Apr 2012 10:36:06 +0000 (04:36 -0600)
src/errorpage.cc

index 927b4ec2cbe9f48e2b8b1cc752407f24a1bbcfe6..ddc0772263803c214bb5a3eab664c193a01efec5 100644 (file)
@@ -511,6 +511,7 @@ errorStateFree(ErrorState * err)
 #if USE_SSL
     delete err->detail;
 #endif
+    err->dnsError.clean();
     cbdataFree(err);
 }