• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Solved] Leak issue related to texttag.

Status
Not open for further replies.
Level 11
Joined
Oct 11, 2012
Messages
711
Hi all. Does the following leak?
JASS:
function test takes nothing returns nothing
    local texttag tag=CreateTextTag()
    if .... then
        call SetTextTagText(tag,"string",0.03)
        call SetTextTagPosUnit(tag,dead,1.)
        call SetTextTagColor(tag,255,0,0,255)
        call SetTextTagPermanent( tag, false )
        call SetTextTagVelocity( tag, 0, 0.01 )
        call SetTextTagFadepoint( tag, 1.50 )
        call SetTextTagLifespan( tag, 3.00 )    
    endif
    set tag=null
endfunction

Thanks a lot. :)
 
Status
Not open for further replies.
Back
Top