inpcom.c: plug memory leak
This commit is contained in:
parent
7528d45740
commit
fe7a61c612
|
|
@ -4044,6 +4044,7 @@ inp_reorder_params(struct names *subckt_w_params, struct line *deck, struct line
|
||||||
char *curr_line = c->li_line;
|
char *curr_line = c->li_line;
|
||||||
|
|
||||||
if (*curr_line == '*') {
|
if (*curr_line == '*') {
|
||||||
|
prev_card = c;
|
||||||
c = c->li_next;
|
c = c->li_next;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue