Lib: Minor fix

This commit is contained in:
Ondrej Zajicek (work) 2017-12-13 14:49:55 +01:00
parent cb21c5ffa9
commit 772beb7308

View file

@ -244,6 +244,7 @@ lp_restore(linpool *m, lp_state *p)
while ((c = m->first_large) && (c != p->large)) while ((c = m->first_large) && (c != p->large))
{ {
m->first_large = c->next; m->first_large = c->next;
m->total_large -= c->size;
xfree(c); xfree(c);
} }
} }