Hello,
Attached is a patch that ensures lastAclData doesn't leak any data,
exactly the same as lastAclName.
In my testing, this wasn't leaking very much memory, but a leak regardless.
Thank you,
Nathan.
Free any previous data stored in lastAclData.
This is submitted on behalf of Bloomberg L.P.
=== modified file 'src/external_acl.cc'
--- src/external_acl.cc 2016-02-19 17:19:25 +0000
+++ src/external_acl.cc 2016-03-10 22:42:38 +0000
@@ -742,6 +742,7 @@
}
}
+ safe_free(ch->al->lastAclData);
ch->al->lastAclData = xstrdup(sb.c_str());
}
_______________________________________________
squid-dev mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-dev