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

double free of location?

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
Errr.. my we says weird things. If i trigger
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • 'IF'-Conditions
      • (Player 1 (Red) slot status) Equal to Plays
    • 'THEN'-Actions
      • Set temppoint01[0] = (Center of Red spawn <gen>)
      • Unit - Create 1 Creep for Player 5 (Yellow) at temppunkt01[0] facing Default building degrees degrees
      • Custom script: call RemoveLocation(udg_temppunkt01[0])
    • 'ELSE'-Actions
, my we (or jngp or whatever) tells me double free of location
What the heck is this?
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
actually yes, but the trigger-cut i posted it wrapped in a integerloop which runs 30 times - but i thought if i destroy a loc inside a loop it doesn't leak neither is double destroyed
-------
ps: temppoint01[] is the same as temppunkt01[]
-------
i think i just ignore it..
 
Last edited:
Status
Not open for further replies.
Top