Don't allocate/delete across static CRTs (no bug, irc r=fyren+psychonic).

This commit is contained in:
David Anderson
2013-03-31 13:30:22 -07:00
parent 4a0a509dd8
commit 9b5ca124ab
7 changed files with 87 additions and 41 deletions
+2 -1
View File
@@ -325,7 +325,8 @@ public: //IScriptManager
SMPlugin *FindPluginByHandle(Handle_t hndl, HandleError *errp) {
return static_cast<SMPlugin *>(PluginFromHandle(hndl, errp));
}
void ListPlugins(CVector<SMPlugin *> *plugins);
const CVector<SMPlugin *> *ListPlugins();
void FreePluginList(const CVector<SMPlugin *> *plugins);
public: //SMGlobalClass
void OnSourceModAllInitialized();
void OnSourceModShutdown();