r320 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jul 5 12:55:46 CEST 2006
Author: phk
Date: 2006-07-05 12:55:46 +0200 (Wed, 05 Jul 2006)
New Revision: 320
Modified:
trunk/varnish-cache/bin/varnishd/cache_hash.c
Log:
Don't leak objects headers
Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c 2006-07-05 10:39:09 UTC (rev 319)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c 2006-07-05 10:55:46 UTC (rev 320)
@@ -123,6 +123,7 @@
return;
assert(TAILQ_EMPTY(&oh->objects));
AZ(pthread_mutex_destroy(&oh->mtx));
+ free(oh->header);
free(oh);
}
More information about the varnish-commit
mailing list