0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-22 18:31:27 +00:00

[ruamoko] Clean up lighting data blocks

Don't want to leak memory.
This commit is contained in:
Bill Currie 2022-05-06 08:26:55 +09:00
parent 4abcaff980
commit ed82b5f299

View file

@ -645,6 +645,9 @@ bi_scene_clear (progs_t *pr, void *_res)
{
rua_scene_resources_t *res = _res;
while (res->ldatas) {
rua_delete_lighting (res, res->ldatas);
}
while (res->scenes) {
rua_delete_scene (res, res->scenes);
}