Fix: memory leak connected to lua 5.0 vaarargs

This commit is contained in:
Bluewhale1337
2026-07-26 15:47:37 +02:00
parent 1a100c4f0a
commit 1eb39c9969
19 changed files with 40 additions and 38 deletions
@@ -221,7 +221,7 @@ local function Update(self, event, unit)
}
end
local function Path(self, ...)
local function Path(self, event, a, b, c, d, e)
--[[ Override: RaidDebuffs.Override(self, event, ...)
Used to completely override the element's update process.
@@ -229,7 +229,7 @@ local function Path(self, ...)
* event - the event triggering the update (string)
* ... - the arguments accompanying the event (string)
--]]
return (self.RaidDebuffs.Override or Update) (self, unpack(arg))
return (self.RaidDebuffs.Override or Update) (self, event, a, b, c, d, e)
end
local function ForceUpdate(element)