diff options
author | Paul Gilbert | 2016-11-15 21:04:30 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-15 21:04:30 -0500 |
commit | afb4b6227a0f20ca829801e00dcf75eeb4c18999 (patch) | |
tree | bcff5fd2dd3d955f7dc4e1759f299b3c1c62d9d3 /engines/titanic/core | |
parent | 5971e0302f331dd05cdedc7ab4a9762cb947b02f (diff) | |
download | scummvm-rg350-afb4b6227a0f20ca829801e00dcf75eeb4c18999.tar.gz scummvm-rg350-afb4b6227a0f20ca829801e00dcf75eeb4c18999.tar.bz2 scummvm-rg350-afb4b6227a0f20ca829801e00dcf75eeb4c18999.zip |
TITANIC: Fixes for freeing project and engine objects on exit
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/project_item.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/titanic/core/project_item.h b/engines/titanic/core/project_item.h index 20c4a4377a..14ca3fd229 100644 --- a/engines/titanic/core/project_item.h +++ b/engines/titanic/core/project_item.h @@ -152,6 +152,7 @@ public: public: CLASSDEF; CProjectItem(); + virtual ~CProjectItem() { destroyChildren(); } /** * Save the data for the class to file |