From a0e8963fb2add228378c7012376eb77d9cde0342 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 20 Jun 2011 17:25:44 +0400 Subject: [PATCH] First tex_parser() successful pass --- c/tex_parser/tex_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/tex_parser/tex_table.c b/c/tex_parser/tex_table.c index 1a23a5c..76378c2 100644 --- a/c/tex_parser/tex_table.c +++ b/c/tex_parser/tex_table.c @@ -37,7 +37,7 @@ int parse_table(const char *table_source, size_t len, struct table_s *table, str switch (where_stack[tex_level]) { case IN_UNDEF: if (c == '\\') { - zfree(tag); tag = NULL; + tag = zfree_null(tag); where_stack[tex_level] = IN_TAG; } else if (c == '%') { where_stack[++tex_level] = IN_COMMENT;