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;