aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dc/dcmain.cpp
diff options
context:
space:
mode:
authorDavid Turner2010-11-29 18:22:31 +0000
committerDavid Turner2010-11-29 18:22:31 +0000
commit91a6b7f5372bfb93a1a7816ea1b7f3a5c65164fd (patch)
tree75c44a3670ea01752f991889aa3f7e09412fec3b /backends/platform/dc/dcmain.cpp
parent0e90a2a808599aafeebd424cda2a8c46505e84fa (diff)
downloadscummvm-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/dc/dcmain.cpp')
0 files changed, 0 insertions, 0 deletions