fix CleanButtons crash

This commit is contained in:
nehalmistry 2004-05-27 16:27:52 +00:00
parent 3085f278ef
commit ad7bc59d55

View file

@ -210,6 +210,7 @@ global void CleanButtons(void)
CurrentButtonLevel = 0; CurrentButtonLevel = 0;
CurrentButtons = NULL; CurrentButtons = NULL;
free(_current_buttons); free(_current_buttons);
_current_buttons = NULL;
} }
/** /**