[master] e0ea91a Add comment to explain why we don't free av (The hasher gets to keep it)
Poul-Henning Kamp
phk at varnish-cache.org
Tue Oct 1 16:12:59 CEST 2013
commit e0ea91a01a4187b87fc3e661e559260ae7b65700
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Oct 1 14:12:28 2013 +0000
Add comment to explain why we don't free av (The hasher gets to keep it)
diff --git a/bin/varnishd/hash/hash_mgt.c b/bin/varnishd/hash/hash_mgt.c
index 30460b3..a8cc352 100644
--- a/bin/varnishd/hash/hash_mgt.c
+++ b/bin/varnishd/hash/hash_mgt.c
@@ -80,4 +80,5 @@ HSH_config(const char *h_arg)
else if (ac > 0)
ARGV_ERR("Hash method \"%s\" takes no arguments\n",
hp->name);
+ /* NB: Don't free av, the hasher is allowed to keep it. */
}
More information about the varnish-commit
mailing list