summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/saveload/oldloader_sl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp
index 66b8cd085..3ce4fc81b 100644
--- a/src/saveload/oldloader_sl.cpp
+++ b/src/saveload/oldloader_sl.cpp
@@ -1420,6 +1420,8 @@ static bool LoadOldSign(LoadgameState *ls, int num)
si->name = CopyFromOldName(RemapOldStringID(_old_string_id));
}
si->owner = OWNER_NONE;
+ } else {
+ delete si;
}
return true;