aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/macosx/macosx.h
diff options
context:
space:
mode:
authorDavid Turner2011-01-14 00:13:27 +0000
committerDavid Turner2011-01-14 00:13:27 +0000
commit28e7ea8c2217bceee9fd581cb78c9c198cf3c6fd (patch)
tree69d2d12c13a7ffa68a0a13befd95cf3517935f8c /backends/platform/sdl/macosx/macosx.h
parent00d78dd3d5ad8ac985018e5781d15e57138d38b8 (diff)
downloadscummvm-rg350-28e7ea8c2217bceee9fd581cb78c9c198cf3c6fd.tar.gz
scummvm-rg350-28e7ea8c2217bceee9fd581cb78c9c198cf3c6fd.tar.bz2
scummvm-rg350-28e7ea8c2217bceee9fd581cb78c9c198cf3c6fd.zip
PARALLACTION: Fix Valgrind Error on Engine Exit.
The automatic destruction of engine member "_char" of type Character at end of the destructor causes an invalid read in the destruction of the AnimationPtr which is a SharedPtr. To stop this happening, the SharedPtr is reset() prior to the destruction of Gfx, so it's dependencies on Gfx are still present. This will affect Nippon Safes as well as Big Red Adventure, but is unlikely to cause any issues and it is likely this exists in NS as well. Thanks to fuzzie for this code. svn-id: r55233
Diffstat (limited to 'backends/platform/sdl/macosx/macosx.h')
0 files changed, 0 insertions, 0 deletions