diff options
author | David Turner | 2010-11-29 18:22:31 +0000 |
---|---|---|
committer | David Turner | 2010-11-29 18:22:31 +0000 |
commit | 91a6b7f5372bfb93a1a7816ea1b7f3a5c65164fd (patch) | |
tree | 75c44a3670ea01752f991889aa3f7e09412fec3b /backends/platform/wii/osystem_sfx.cpp | |
parent | 0e90a2a808599aafeebd424cda2a8c46505e84fa (diff) | |
download | scummvm-rg350-91a6b7f5372bfb93a1a7816ea1b7f3a5c65164fd.tar.gz scummvm-rg350-91a6b7f5372bfb93a1a7816ea1b7f3a5c65164fd.tar.bz2 scummvm-rg350-91a6b7f5372bfb93a1a7816ea1b7f3a5c65164fd.zip |
BACKENDS: Improve safety of Modular Backend Destructor And Close _fsFactory Memory Leak
Since the modular backend implements abstract modules to be written in the future which _may_ have interdependencies, they should be set to null pointers after deletion.
This allows assert(_eventManager) type lines to work, which would have detected bug #3121841 without a segfault...
Also, _fsFactory should be deleted to ensure it is not leaked though this causes a group of GCC warnings and probably should be done in a different manner.
svn-id: r54580
Diffstat (limited to 'backends/platform/wii/osystem_sfx.cpp')
0 files changed, 0 insertions, 0 deletions