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

[vJASS] Double free protection

Status
Not open for further replies.
Level 16
Joined
Mar 3, 2006
Messages
1,564
What is the meaning of double free protection ? I know its that thing in the
JASS:
function s__STRUCTNAME_destroy takes integer this returns nothing
if bla bla then
bla bla
elseif (si__STRUCTNAME_V[this] != -1) then
Display "Double free of type: STRUCTNAME"
return
endif

Now what is meant by Double free ? and how it may happen ?
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
On the contrary. If we were to get C instead of JASS I think we would be lucky. That would be sooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo much better. Seriously.
 
Status
Not open for further replies.
Top