[3.0] d77db1d Free the workers busyobj if any on cleanup
Tollef Fog Heen
tfheen at varnish-cache.org
Wed Aug 17 11:26:29 CEST 2011
commit d77db1dd23c40f1d954a86e2434c0649b26df30e
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Tue Aug 2 23:02:42 2011 +0200
Free the workers busyobj if any on cleanup
diff --git a/bin/varnishd/cache_hash.c b/bin/varnishd/cache_hash.c
index 6fdff15..92ee92f 100644
--- a/bin/varnishd/cache_hash.c
+++ b/bin/varnishd/cache_hash.c
@@ -144,6 +144,10 @@ HSH_Cleanup(struct worker *w)
free(w->nhashpriv);
w->nhashpriv = NULL;
}
+ if (w->nbusyobj != NULL) {
+ FREE_OBJ(w->nbusyobj);
+ w->nbusyobj = NULL;
+ }
}
void
More information about the varnish-commit
mailing list