reported by shpuld. fix my fix for ktx memory leaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4910 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2ee86c0314
commit
96f3f841da
1 changed files with 3 additions and 0 deletions
|
@ -523,6 +523,9 @@ void Mod_Purge(enum mod_purge_e ptype)
|
||||||
ZG_FreeGroup(&mod->memgroup);
|
ZG_FreeGroup(&mod->memgroup);
|
||||||
mod->meshinfo = NULL;
|
mod->meshinfo = NULL;
|
||||||
mod->loadstate = MLS_NOTLOADED;
|
mod->loadstate = MLS_NOTLOADED;
|
||||||
|
|
||||||
|
mod->pvs = NULL;
|
||||||
|
mod->phs = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue