diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index a5c4a45cb..095b6d5dc 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -721,7 +721,7 @@ struct NewGRFWindow : public Window { if (c == this->sel) { *pc = c->next; - free(c); + delete c; break; } } |