Does this leak?

afisakov

You can change this now in User CP.
Reaction score
37
local real y= GetLocationY(GetSpellTargetLoc())
jasschecker seemed to flag it, but I thought getting the x or y coordinate of something did not leak?
asking here to make sure
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
Yes, it leaks.
Every function (as far as I know) which returns a Point will leak. GetSpellTargetLoc() returns a point; this point must be destroyed after it has been used.
 

afisakov

You can change this now in User CP.
Reaction score
37
Thank you for the prompt reply.
Looks like I have some leaks to fix now
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top