summaryrefslogtreecommitdiff
path: root/src/newgrf_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_storage.h')
-rw-r--r--src/newgrf_storage.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/newgrf_storage.h b/src/newgrf_storage.h
index 528d4ff3c..cdbb041b4 100644
--- a/src/newgrf_storage.h
+++ b/src/newgrf_storage.h
@@ -198,14 +198,6 @@ struct PersistentStorage : PersistentStorageArray<int32, 16>, PersistentStorageP
/** We don't want GCC to zero our struct! It already is zeroed and has an index! */
PersistentStorage(const uint32 new_grfid) : grfid(new_grfid)
{
- this->prev_storage = NULL;
- memset(this->storage, 0, sizeof(this->storage));
- }
-
- /** Free the memory used by the persistent storage. */
- ~PersistentStorage()
- {
- free(this->prev_storage);
}
};