(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:
rubidium
2009-12-06 20:22:21 +00:00
parent c6b2a96682
commit a0a530a997
3 changed files with 9 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ class AIInfo : public AIFileInfo {
public:
static const char *GetClassName() { return "AIInfo"; }
AIInfo();
~AIInfo();
/**