[4.0] 1d05050 Fix memory leak on ESI
Martin Blix Grydeland
martin at varnish-software.com
Tue Aug 5 12:39:43 CEST 2014
commit 1d050505dfc6479849b1969a84647f6b87dae657
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Fri Jun 27 15:08:32 2014 +0200
Fix memory leak on ESI
diff --git a/bin/varnishd/cache/cache_esi_fetch.c b/bin/varnishd/cache/cache_esi_fetch.c
index 3eb4c49..41bea3b 100644
--- a/bin/varnishd/cache/cache_esi_fetch.c
+++ b/bin/varnishd/cache/cache_esi_fetch.c
@@ -136,6 +136,7 @@ vfp_esi_end(struct busyobj *bo, struct vef_priv *vef, enum vfp_status retval)
"ESI+Gzip Failed at the very end");
}
if (vef->ibuf != NULL)
+ free(vef->ibuf);
FREE_OBJ(vef);
return (retval);
}
More information about the varnish-commit
mailing list