Fixed a use-after-free bug in windows/tabpage.c.
This commit is contained in:
parent
9bf2c2b025
commit
c15fd6968c
|
@ -139,4 +139,5 @@ void tabPageDestroyChild(uiControl *c)
|
||||||
|
|
||||||
uiControlSetParent(t->child, NULL);
|
uiControlSetParent(t->child, NULL);
|
||||||
uiControlDestroy(t->child);
|
uiControlDestroy(t->child);
|
||||||
|
t->child = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue