Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Point Memory Leak
Point Memory Leak
01-15-2006, 11:05 PM
#1
Zandose
Will overwriting a point variable with a new point delete the old point or will the point still be in memory. ty
01-15-2006, 11:27 PM
#2
PitzerMike
It won't destroy the old point and therefore leak.
01-15-2006, 11:53 PM
#3
Zandose
ok
01-16-2006, 12:46 AM
#4
Zandose
What about integers? Do they need to be removed before writing to them agian?
01-16-2006, 01:08 AM
#5
Vexorian
integers are native types. The variable itself holds all their memory (points to an actual place in memory where the integer is stored) . They don't leak
01-16-2006, 01:08 AM
#6
Immoralis
I dont think integers cause leaks.
Edit: Vex is fast.