aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/graphics.cpp
diff options
context:
space:
mode:
authorThierry Crozat2013-06-30 13:45:43 -0600
committerThierry Crozat2013-06-30 13:45:43 -0600
commit8c070963684933f72581cc061f3aaf5c71960af8 (patch)
tree04b33de8987b0ff4a64edf22ef967a792afd6116 /engines/mortevielle/graphics.cpp
parent730a1373d9837c340e6e646aaa4fbdce4574620a (diff)
downloadscummvm-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/mortevielle/graphics.cpp')
0 files changed, 0 insertions, 0 deletions