diff options
author | Thierry Crozat | 2013-06-30 13:45:43 -0600 |
---|---|---|
committer | Thierry Crozat | 2013-06-30 13:45:43 -0600 |
commit | 8c070963684933f72581cc061f3aaf5c71960af8 (patch) | |
tree | 04b33de8987b0ff4a64edf22ef967a792afd6116 /engines/kyra/saveload_rpg.cpp | |
parent | 730a1373d9837c340e6e646aaa4fbdce4574620a (diff) | |
download | scummvm-rg350-8c070963684933f72581cc061f3aaf5c71960af8.tar.gz scummvm-rg350-8c070963684933f72581cc061f3aaf5c71960af8.tar.bz2 scummvm-rg350-8c070963684933f72581cc061f3aaf5c71960af8.zip |
MORTEVIELLE: Fix memory leak with the _screenSurface
The _screenSurface was not free'ed after being created. This is now
done at the end of run() (the Surface is created at the start of run()
when calling initialise()). Also moved a few free() from the destructor
to the end of run() in case run() can be called more than once on the
same engine.
Diffstat (limited to 'engines/kyra/saveload_rpg.cpp')
0 files changed, 0 insertions, 0 deletions