r1973 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Fri Sep 21 00:26:53 CEST 2007


Author: phk
Date: 2007-09-21 00:26:53 +0200 (Fri, 21 Sep 2007)
New Revision: 1973

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_token.c
Log:
vcc_FreeToken() is no longer necessary


Modified: trunk/varnish-cache/lib/libvcl/vcc_token.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_token.c	2007-09-20 22:26:31 UTC (rev 1972)
+++ trunk/varnish-cache/lib/libvcl/vcc_token.c	2007-09-20 22:26:53 UTC (rev 1973)
@@ -275,19 +275,6 @@
 }
 
 /*--------------------------------------------------------------------
- * Free a token
- */
-
-void
-vcc_FreeToken(struct token *t)
-{
-
-	if (t->dec != NULL)
-		free(t->dec);
-	free(t);
-}
-
-/*--------------------------------------------------------------------
  * Lexical analysis and token generation
  */
 




More information about the varnish-commit mailing list