• 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.

returns boolean - a leak ?

Status
Not open for further replies.
Level 3
Joined
May 19, 2008
Messages
32
will this create a leak ?

call UnitAddAbility( u2, 'A002')

i dont think so since UnitAddAbility returns boolean according to vjass ... so im not using an ability handle here that leaks right?
 
Level 7
Joined
Mar 16, 2008
Messages
348
I believe his doubt was because in a function he called handles, but calling variables do not leak. Just setting them.
 
Status
Not open for further replies.
Top