mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[ui] Remove view from hash table when pruning
Fixes a segfault after removing some widgets. Otherwise, it seems pruning is working.
This commit is contained in:
parent
3aceccf4aa
commit
7c17921277
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ prune_objects (imui_ctx_t *ctx)
|
|||
s = &(*s)->next;
|
||||
} else {
|
||||
ECS_DelEntity (ctx->csys.reg, (*s)->entity);
|
||||
Hash_Del (ctx->tab, (*s)->label + (*s)->key_offset);
|
||||
imui_state_free (ctx, *s);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue