Various Cleanups (bindings/universal/)

This commit is contained in:
Schmoozerd 2012-07-19 21:59:14 +02:00
parent c334cd5ea4
commit ed3220dbf2
6 changed files with 100 additions and 99 deletions

View file

@ -36,7 +36,8 @@ extern void AddSC_default();
MANGOS_DLL_EXPORT MANGOS_DLL_EXPORT
void ScriptsFree() void ScriptsFree()
{ // Free resources before library unload {
// Free resources before library unload
for (int i = 0; i < nrscripts; ++i) for (int i = 0; i < nrscripts; ++i)
delete m_scripts[i]; delete m_scripts[i];