Skip to content

Commit 57637a0

Browse files
committed
fix the duplicate output
1 parent 2664dd9 commit 57637a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cobj/codegen.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5070,6 +5070,9 @@ static void joutput_init_method(struct cb_program *prog) {
50705070
joutput_prefix();
50715071
joutput("%s = new CobolDataStorage(%d);", base_name,
50725072
blp->f->memory_size);
5073+
free(base_name);
5074+
joutput("\t/* %s */\n", blp->f->name);
5075+
continue;
50735076
}
50745077

50755078
if (blp->f->flag_external) {

0 commit comments

Comments
 (0)