Plugin: Call Plugin::release directly, rather than through Interface and PluginMgr.
commitf2b4f78cfa07abd1e14b509be7ee162122c0afc5
authorTom Prince <tom.prince@ualberta.net>
Tue, 20 Apr 2010 00:20:07 +0000 (19 20:20 -0400)
committerTom Prince <tom.prince@ualberta.net>
Tue, 20 Apr 2010 00:20:07 +0000 (19 20:20 -0400)
treec9e5eeb6d5bed6bf5d1ebb0c1b74777303097d9e
parent1bf515e63364e2706cd45c5cc421e7a5fda632cb
Plugin: Call Plugin::release directly, rather than through Interface and PluginMgr.

This shouldn't introduce any calls to release through a NULL pointer, since (almost)
every call is preceded by a check, or another virtual call.
27 files changed:
gemrb/core/Game.cpp
gemrb/core/GameControl.cpp
gemrb/core/GameData.cpp
gemrb/core/IniSpawn.cpp
gemrb/core/Interface.cpp
gemrb/core/Interface.h
gemrb/core/Map.cpp
gemrb/core/PluginMgr.cpp
gemrb/core/PluginMgr.h
gemrb/core/ProjectileServer.cpp
gemrb/core/ResourceManager.cpp
gemrb/core/SaveGameIterator.cpp
gemrb/core/TextArea.cpp
gemrb/plugins/AREImporter/AREImporter.cpp
gemrb/plugins/BAMImporter/BAMImporter.cpp
gemrb/plugins/BIFImporter/BIFImporter.cpp
gemrb/plugins/CHUImporter/CHUImporter.cpp
gemrb/plugins/CREImporter/CREImporter.cpp
gemrb/plugins/GAMImporter/GAMImporter.cpp
gemrb/plugins/GUIScript/GUIScript.cpp
gemrb/plugins/ITMImporter/ITMImporter.cpp
gemrb/plugins/KEYImporter/KEYImporter.cpp
gemrb/plugins/MOSImporter/MOSImporter.cpp
gemrb/plugins/OpenALAudio/OpenALAudio.cpp
gemrb/plugins/SPLImporter/SPLImporter.cpp
gemrb/plugins/WEDImporter/WEDImporter.cpp
gemrb/plugins/WMPImporter/WMPImporter.cpp