[master] 037fb7c Add comment to explain why we don't free av: Stevedore keeps it.

Poul-Henning Kamp phk at varnish-cache.org
Tue Oct 1 16:20:07 CEST 2013


commit 037fb7c1365cbd8752000b797db1aaf408168263
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Oct 1 14:19:50 2013 +0000

    Add comment to explain why we don't free av:  Stevedore keeps it.

diff --git a/bin/varnishd/storage/stevedore_mgt.c b/bin/varnishd/storage/stevedore_mgt.c
index 4251839..fd0cbec 100644
--- a/bin/varnishd/storage/stevedore_mgt.c
+++ b/bin/varnishd/storage/stevedore_mgt.c
@@ -164,6 +164,7 @@ STV_Config(const char *spec)
 	} else {
 		VTAILQ_INSERT_TAIL(&stv_stevedores, stv, list);
 	}
+	/* NB: Do not free av, stevedore gets to keep it */
 }
 
 /*--------------------------------------------------------------------*/



More information about the varnish-commit mailing list