Browse Source

inpcom.c: fix huge memory leak during library handling

pre-master-46
h_vogt 13 years ago
committed by rlar
parent
commit
f17ab06e66
  1. 2
      src/frontend/inpcom.c

2
src/frontend/inpcom.c

@ -74,6 +74,7 @@ struct func_temper
struct func_temper *next;
};
extern void line_free_x(struct line *deck, bool recurse);
static COMPATMODE_T inp_compat_mode;
@ -2469,6 +2470,7 @@ expand_section_references(struct line *c, int call_depth, char *dir_name)
}
t->li_line[0] = '*';
t->li_line[1] = '>';
line_free_x(t->li_next, TRUE);
t->li_next = rest;
}

Loading…
Cancel
Save