From ae7e73400ead79c3d665122ae7e81b15ac97e06d Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 12 Jul 2013 07:44:20 +0000 Subject: [PATCH] Fix typos in variable name that caused memory leaks in OvaleFuture. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@960 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleFuture.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleFuture.lua b/OvaleFuture.lua index f36971f..8878b49 100644 --- a/OvaleFuture.lua +++ b/OvaleFuture.lua @@ -222,7 +222,7 @@ end function OvaleFuture:PLAYER_ENTERING_WORLD(event) -- Empty out self_lastSpellcast. for guid, spellTable in pairs(self_lastSpellcast) do - for spellId, spellCast in pairs(spellTable) do + for spellId, spellcast in pairs(spellTable) do spellTable[spellId] = nil self_pool:Release(spellcast) end @@ -234,7 +234,7 @@ function OvaleFuture:Ovale_InactiveUnit(event, guid) -- Remove spellcasts for inactive units. local spellTable = self_lastSpellcast[guid] if spellTable then - for spellId, spellCast in pairs(spellTable) do + for spellId, spellcast in pairs(spellTable) do spellTable[spellId] = nil self_pool:Release(spellcast) end -- 1.7.9.5