git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@205 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-07 14:24:37 +00:00
parent 7dda33ee1c
commit 286ecbd71b

View File

@@ -160,7 +160,9 @@ static void MwFreeWidget(MwWidget handle) {
}
void MwDestroyWidget(MwWidget handle) {
arrput(handle->parent->destroy_queue, handle);
if(handle->parent != NULL) {
arrput(handle->parent->destroy_queue, handle);
}
}
void MwStep(MwWidget handle) {