Leak question

Bannar

Code Reviewer
Level 26
Joined
Mar 19, 2008
Messages
3,141
If you declare variable but do not set it, then there is nothing given variable is pointing at therefore you do not need to null it.

Although if you use:
JASS:
function whatever takes nothing returns nothing
    local effect e = AddSpecialEffect(...)
endfunction
You should null it at the end of the function.
 
Top