- Index: order_sl.cpp
- ===================================================================
- --- order_sl.cpp (revision 26785)
- +++ order_sl.cpp (working copy)
- @@ -302,7 +302,11 @@
- * Furthermore before savegame version 192 the actual content was always corrupt.
- */
- if (!_networking || _network_server || IsSavegameVersionBefore(192)) {
- - _order_backup_pool.CleanPool();
- + /* Note: We cannot use CleanPool since that skips part of the destructor and then leaks Orders */
- + OrderBackup *ob;
- + FOR_ALL_ORDER_BACKUPS(ob) {
- + delete ob;
- + }
- }
- }