diff options
author | Colin Snover | 2017-11-14 12:57:07 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2017-11-18 22:35:12 +0100 |
commit | 1337f04122cac5f0343090ac23119e4133624db0 (patch) | |
tree | deca829b52f5d02d8c2802d2540fc8b311f164ee /engines/fullpipe/objects.h | |
parent | 8e8932f38d61789c76fd03a4a01e3cb74d3dc52d (diff) | |
download | scummvm-rg350-1337f04122cac5f0343090ac23119e4133624db0.tar.gz scummvm-rg350-1337f04122cac5f0343090ac23119e4133624db0.tar.bz2 scummvm-rg350-1337f04122cac5f0343090ac23119e4133624db0.zip |
FULLPIPE: Fix memory leaks of SceneTag
Diffstat (limited to 'engines/fullpipe/objects.h')
-rw-r--r-- | engines/fullpipe/objects.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/objects.h b/engines/fullpipe/objects.h index 78165c4f8d..7501f2bda7 100644 --- a/engines/fullpipe/objects.h +++ b/engines/fullpipe/objects.h @@ -23,6 +23,7 @@ #ifndef FULLPIPE_OBJECTS_H #define FULLPIPE_OBJECTS_H +#include "common/ptr.h" #include "fullpipe/utils.h" namespace Fullpipe { @@ -34,12 +35,11 @@ class GameProject : public CObject { public: int _field_4; Common::String _headerFilename; - SceneTagList *_sceneTagList; + Common::ScopedPtr<SceneTagList> _sceneTagList; int _field_10; public: GameProject(); - ~GameProject(); virtual bool load(MfcArchive &file); }; |