rendered paste bodydiff --git a/gemrb/plugins/Core/Interface.cpp b/gemrb/plugins/Core/Interface.cppindex 48ed67b..f96eedd 100644--- a/gemrb/plugins/Core/Interface.cpp+++ b/gemrb/plugins/Core/Interface.cpp@@ -1840,7 +1840,7 @@ const char* Interface::TypeExt(SClass_ID type) const void Interface::FreeString(char *&str) const { if (str) {- strings->FreeString(str);+ free(str); } str = NULL; }diff --git a/gemrb/plugins/Core/PluginMgr.cpp b/gemrb/plugins/Core/PluginMgr.cppindex 20e801a..5bb2015 100644--- a/gemrb/plugins/Core/PluginMgr.cpp+++ b/gemrb/plugins/Core/PluginMgr.cpp@@ -295,6 +295,5 @@ std::vector<InterfaceElement> *PluginMgr::GetAllPlugin(SClass_ID plugintype) con void PluginMgr::FreePlugin(void* ptr) {- if (ptr)- ( ( Plugin * ) ptr )->release();+ delete (Plugin*) ptr; }