diff --git a/src/token.c b/src/token.c index 91704836..75f7f6db 100644 --- a/src/token.c +++ b/src/token.c @@ -469,8 +469,10 @@ const char *get_tok_value(const char *s,const char *tok, int with_quotes) my_free(976, &result); my_free(977, &token); size = sizetok = 0; + xctx->get_tok_size = 0; return ""; } + xctx->get_tok_size = 0; /* dbg(2, "get_tok_value(): looking for <%s> in <%s>\n",tok,s); */ if( size == 0 ) { sizetok = size = CADCHUNKALLOC;