Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Commits

[master] c2a2576 Make sure to free workers cached busyobj when threads are reaped.

 

 

Varnish commits RSS feed   Index | Next | Previous | View Threaded


phk at varnish-cache

Feb 8, 2012, 11:58 PM

Post #1 of 1 (24 views)
Permalink
[master] c2a2576 Make sure to free workers cached busyobj when threads are reaped.

commit c2a2576ca15d3bdbdf0b151383833332f0be1f22
Author: Poul-Henning Kamp <phk [at] FreeBSD>
Date: Thu Feb 9 07:58:04 2012 +0000

Make sure to free workers cached busyobj when threads are reaped.

diff --git a/bin/varnishd/cache/cache_wrk.c b/bin/varnishd/cache/cache_wrk.c
index 32ad21d..c1d20e8 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -163,6 +163,8 @@ wrk_thread_real(void *priv, unsigned shm_workspace, unsigned sess_workspace,
if (w->vcl != NULL)
VCL_Rel(&w->vcl);
AZ(pthread_cond_destroy(&w->cond));
+ if (w->nvbo != NULL)
+ VBO_Free(&w->nvbo);
HSH_Cleanup(w);
WRK_SumStat(w);
return (NULL);

_______________________________________________
varnish-commit mailing list
varnish-commit [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit

Varnish commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.