mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-02-02 09:04:29 +01:00
(svn r18418) -Fix [FS#3298]: under some circumstances a pointer could be left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
This commit is contained in:
@@ -25,6 +25,7 @@ public:
|
||||
description(NULL),
|
||||
date(NULL),
|
||||
instance_name(NULL),
|
||||
version(0),
|
||||
url(NULL)
|
||||
{}
|
||||
~ScriptFileInfo();
|
||||
|
||||
Reference in New Issue
Block a user