Browse Source

Fix dd7b9ff27

("Avoid memory crash when reading old VDMOS models.
Enable both old and current model format.",
2023-12-30)
pre-master-46
Holger Vogt 2 years ago
parent
commit
a0bddf872d
  1. 1
      src/frontend/inpcom.c

1
src/frontend/inpcom.c

@ -8035,7 +8035,6 @@ static int inp_vdmos_model(struct card *deck)
wl_append_word(NULL, &wl, token); wl_append_word(NULL, &wl, token);
else { else {
tfree(token); tfree(token);
break;
} }
if (*cut_line == ')' || *cut_line == '\0') { if (*cut_line == ')' || *cut_line == '\0') {
wl_append_word(NULL, &wl, copy(")")); wl_append_word(NULL, &wl, copy(")"));

Loading…
Cancel
Save