aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/yat2m.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index aaa7ea618..a22176cd4 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -1203,10 +1203,10 @@ top_parse_file (const char *fname, FILE *fp)
if not in a section. */
while (macrolist)
{
- macro_t m = macrolist->next;
- free (m->value);
- free (m);
- macrolist = m;
+ macro_t next = macrolist->next;
+ free (macrolist->value);
+ free (macrolist);
+ macrolist = next;
}
parse_file (fname, fp, &section_name, 0);