]> err.no Git - varnish/commitdiff
vcc_FreeToken() is no longer necessary
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 20 Sep 2007 22:26:53 +0000 (22:26 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 20 Sep 2007 22:26:53 +0000 (22:26 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1973 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_token.c

index 311abd2d9ed643895ed2a487b7118f63138a03de..37e41ce8d2ec46035d5cfa45e86cca2ff6370231 100644 (file)
@@ -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
  */