From 6cd2831b5fb5e04e70bba9ddde910ffca2df6104 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 20 Sep 2007 22:26:53 +0000 Subject: [PATCH] vcc_FreeToken() is no longer necessary git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1973 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvcl/vcc_token.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/varnish-cache/lib/libvcl/vcc_token.c b/varnish-cache/lib/libvcl/vcc_token.c index 311abd2d..37e41ce8 100644 --- a/varnish-cache/lib/libvcl/vcc_token.c +++ b/varnish-cache/lib/libvcl/vcc_token.c @@ -274,19 +274,6 @@ vcc_AddToken(struct tokenlist *tl, unsigned tok, const char *b, const char *e) } } -/*-------------------------------------------------------------------- - * Free a token - */ - -void -vcc_FreeToken(struct token *t) -{ - - if (t->dec != NULL) - free(t->dec); - free(t); -} - /*-------------------------------------------------------------------- * Lexical analysis and token generation */ -- 2.39.5