[master] e93ef71 Free the workers busyobj if any on cleanup
Martin Blix Grydeland
martin at varnish-cache.org
Wed Aug 3 12:36:11 CEST 2011
commit e93ef7195576db670f0f4f716362b4964e83439b
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