Most likely nullifying object variables. A lot of object types are agents, which count the remaining pointers. Such an object cannot release its id, its identification number, until all references are gone. Global variables are typically reused, so it does not really matter with them. Local variables are dynamically allocated during the game though and the problem is that the reference-counter is not automatially decremented when the local variable is freed. GUI does not provide local variables, so unless you write jass code or call some specific blizzard function where they blundered themselves (maybe they had no idea of this glitch either or just did not care), you should be okay. Not nullifying local agent variables leads to minor leaks.