Fixed a use-after-free bug in windows/tabpage.c.

This commit is contained in:
Pietro Gagliardi 2015-06-01 19:09:13 -04:00
parent 9bf2c2b025
commit c15fd6968c
1 changed files with 1 additions and 0 deletions

View File

@ -139,4 +139,5 @@ void tabPageDestroyChild(uiControl *c)
uiControlSetParent(t->child, NULL);
uiControlDestroy(t->child);
t->child = NULL;
}