diff options
author | David Turner | 2011-01-14 00:13:27 +0000 |
---|---|---|
committer | David Turner | 2011-01-14 00:13:27 +0000 |
commit | 28e7ea8c2217bceee9fd581cb78c9c198cf3c6fd (patch) | |
tree | 69d2d12c13a7ffa68a0a13befd95cf3517935f8c /engines/cine | |
parent | 00d78dd3d5ad8ac985018e5781d15e57138d38b8 (diff) | |
download | scummvm-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 'engines/cine')
0 files changed, 0 insertions, 0 deletions