forked from mirror/OpenTTD
(svn r19597) -Fix: Removing NewGRFs from the GUI list leaked.
This commit is contained in:
@@ -721,7 +721,7 @@ struct NewGRFWindow : public Window {
|
|||||||
|
|
||||||
if (c == this->sel) {
|
if (c == this->sel) {
|
||||||
*pc = c->next;
|
*pc = c->next;
|
||||||
free(c);
|
delete c;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user