diff options
author | Treeki <treeki@gmail.com> | 2013-04-09 02:12:52 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-04-09 02:12:52 +0200 |
commit | 04210e256b41de90bec58eac8c82342e46d0d29d (patch) | |
tree | d47c0b01684f00a6c59aaf293c8765def66f80ad /src/creditsMgr.cpp | |
parent | 3fdfdf680f89a7c9df888f24e14ea21c740b00fa (diff) | |
download | kamek-04210e256b41de90bec58eac8c82342e46d0d29d.tar.gz kamek-04210e256b41de90bec58eac8c82342e46d0d29d.zip |
fix Credits Manager memory leak
Diffstat (limited to 'src/creditsMgr.cpp')
-rw-r--r-- | src/creditsMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creditsMgr.cpp b/src/creditsMgr.cpp index 216b78b..a84fe40 100644 --- a/src/creditsMgr.cpp +++ b/src/creditsMgr.cpp @@ -165,7 +165,7 @@ int dCreditsMgr_c::onCreate() { int dCreditsMgr_c::onDelete() { scriptLoader.unload(); - return layout.free(); + return layout.free() && titleLayout.free(); } extern "C" bool SpawnEffect(const char*, int, Vec*, S16Vec*, Vec*); int dCreditsMgr_c::onExecute() { |