i removed/destroyed anything that can leak but after using leak checker it said that i have a memory leak on 2 things which i was actually quite sure were not leaking. the 2 functions were:
and
so are they leaking or not? do they need extra variables?
Trigger:
- Set Game_Message_UV_PG = (Player group((Owner of (Sold unit))))
- Game - Display to Game_Message_UV_PG the text: You can only have 1...
- Custom script: call DestroyForce (udg_Game_Message_UV_PG)
and
Trigger:
- Set Mi_DM_Point[1] = ((Position of (Triggering unit)) offset by 750.00 towards (Facing of (Triggering unit)) degrees)
- Unit - Create 1 MiDummy for Player 1 (Red) at Mi_DM_Point[1] facing Default building facing degrees
- Custom script: call RemoveLocation (udg_Mi_DM_Point[1])
so are they leaking or not? do they need extra variables?