diff options
author | Anubisss <none@none> | 2010-05-13 00:52:04 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2010-05-13 00:52:04 +0200 |
commit | e7faef7e76edd84ccdf75139ef78a697db28ad04 (patch) | |
tree | 3a5f3ae1a7c2ba0bae8d0991ae23d9c2aa41cdcf | |
parent | 46a14891c058e419728793af7b8d7ff14007c77b (diff) |
Fix a memleak in AddSC_borean_tundra().
Log:
==31592== 312 bytes in 1 blocks are definitely lost in loss record 423 of 1,232
==31592== at 0x4C2626C: operator new(unsigned long) (vg_replace_malloc.c:230)
==31592== by 0xFC12AF: AddSC_borean_tundra() (borean_tundra.cpp:2408)
==31592== by 0xDC0BF0: AddScripts() (ScriptLoader.cpp:917)
==31592== by 0xC183F3: ScriptMgr::ScriptsInit() (ScriptMgr.cpp:70)
==31592== by 0xD1B75F: World::SetInitialWorldSettings() (World.cpp:1608)
==31592== by 0x90F34E: Master::Run() (Master.cpp:234)
==31592== by 0x90E87E: main (Main.cpp:146)
--HG--
branch : trunk
-rw-r--r-- | src/scripts/northrend/borean_tundra.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/scripts/northrend/borean_tundra.cpp b/src/scripts/northrend/borean_tundra.cpp index e57e00f5554..074726ccb9e 100644 --- a/src/scripts/northrend/borean_tundra.cpp +++ b/src/scripts/northrend/borean_tundra.cpp @@ -2405,7 +2405,6 @@ void AddSC_borean_tundra() newscript->Name = "npc_nesingwary_trapper"; newscript->GetAI = &GetAI_npc_nesingwary_trapper; newscript->RegisterSelf(); - newscript = new Script; newscript = new Script; newscript->Name = "npc_lurgglbr"; |