From: ben@51degrees.com Date: Fri, 8 Jan 2016 13:48:37 +0000 (+0000) Subject: BUG/MINOR: 51d: Releases workset back to pool. X-Git-Tag: v1.7-dev2~151 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6baceb9f64893f017b449b3d310153a526214bde;p=thirdparty%2Fhaproxy.git BUG/MINOR: 51d: Releases workset back to pool. The workset is now released correctly when a cache hit occurs. This should be backported to 1.6. --- diff --git a/src/51d.c b/src/51d.c index 9bba94e29d..0211dd7f7c 100644 --- a/src/51d.c +++ b/src/51d.c @@ -384,6 +384,7 @@ static int _51d_fetch(const struct arg *args, struct sample *smp, const char *kw lru = lru64_get(_51d_req_hash(args, ws), _51d_lru_tree, (void*)args, 0); if (lru && lru->domain) { + fiftyoneDegreesWorksetPoolRelease(global._51degrees.pool, ws); _51d_retrieve_cache_entry(smp, lru); return 1; }