[master] 2b2f723 Now we do.
Poul-Henning Kamp
phk at varnish-cache.org
Wed Feb 9 15:03:52 CET 2011
commit 2b2f723ec647f88a02a050508973be0380a73990
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Feb 9 14:03:39 2011 +0000
Now we do.
diff --git a/bin/varnishd/storage_persistent_silo.c b/bin/varnishd/storage_persistent_silo.c
index defb3d0..d312ec9 100644
--- a/bin/varnishd/storage_persistent_silo.c
+++ b/bin/varnishd/storage_persistent_silo.c
@@ -30,7 +30,6 @@
* XXX: Before we start the client or maybe after it stops, we should give the
* XXX: stevedores a chance to examine their storage for consistency.
*
- * XXX: Do we ever free the LRU-lists ?
*/
#include "config.h"
@@ -101,7 +100,8 @@ smp_save_segs(struct smp_sc *sc)
if (sg == sc->cur_seg)
continue;
VTAILQ_REMOVE(&sc->segments, sg, list);
- free(sg);
+ LRU_Free(sg->lru);
+ FREE_OBJ(sg);
}
smp_save_seg(sc, &sc->seg1);
smp_save_seg(sc, &sc->seg2);
More information about the varnish-commit
mailing list