[master] d4441ab This is getting embarrasing: don't double free...

Poul-Henning Kamp phk at varnish-cache.org
Tue Feb 15 14:03:27 CET 2011


commit d4441ab2acd499c400baae277b62faeadb39022b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Feb 15 12:59:10 2011 +0000

    This is getting embarrasing:  don't double free...

diff --git a/bin/varnishd/cache_esi_fetch.c b/bin/varnishd/cache_esi_fetch.c
index 7723a89..7343285 100644
--- a/bin/varnishd/cache_esi_fetch.c
+++ b/bin/varnishd/cache_esi_fetch.c
@@ -361,8 +361,6 @@ vfp_esi_end(struct sess *sp)
 	ssize_t l;
 
 	CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
-	if (sp->wrk->is_gzip && sp->wrk->do_gunzip)
-		VGZ_Destroy(&sp->wrk->vgz_rx);
 
 	vsb = VEP_Finish(sp);
 



More information about the varnish-commit mailing list