mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 01:19:11 +00:00
(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) {
|
||||
*pc = c->next;
|
||||
free(c);
|
||||
delete c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user