Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
engboris committed Apr 30, 2024
1 parent 69535cd commit c035033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobc/codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ output_gnucobol_defines (const char *formatted_date)
output_line ("#include \"%s\"", ld->text);
}
next = ld->next;
if (ld->next != NULL)
if (next != NULL)
free (ld);
ld = next;
}
Expand Down

0 comments on commit c035033

Please sign in to comment.