r322 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Jul 5 13:09:11 CEST 2006
Author: phk
Date: 2006-07-05 13:09:11 +0200 (Wed, 05 Jul 2006)
New Revision: 322
Modified:
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
Log:
Free the session memory correctly
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2006-07-05 10:59:31 UTC (rev 321)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2006-07-05 11:09:11 UTC (rev 322)
@@ -242,7 +242,7 @@
} else {
if (sp->http != NULL)
http_Delete(sp->http);
- free(sp);
+ free(sp->mem);
}
}
More information about the varnish-commit
mailing list