- fixed memory leak in savegame code.

This commit is contained in:
Christoph Oelckers 2020-01-06 20:01:18 +01:00
parent d5d60afdc3
commit e1e2b01c84

View file

@ -17,9 +17,7 @@ class CompositeSavegameWriter
public: public:
void Clear() void Clear()
{ {
subfiles.Reset(); subfiles.DeleteAndClear();
subfilenames.Reset();
isCompressed.Reset();
} }
void SetFileName(const char* fn) void SetFileName(const char* fn)
{ {