Browse Source

inp.c: avoid crash if setparse() returns NULL

pre-master-46
h_vogt 14 years ago
parent
commit
5c4f8946f6
  1. 2
      src/frontend/inp.c

2
src/frontend/inp.c

@ -759,7 +759,7 @@ inp_dodeck(
else
ct->ci_vars = eev = cp_setparse(wl);
wl_free(wl);
while (eev->va_next)
while (eev && (eev->va_next))
eev = eev->va_next;
}
for (eev = ct->ci_vars; eev; eev = eev->va_next) {

Loading…
Cancel
Save