summaryrefslogtreecommitdiff
path: root/src/qcommon/vm.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-03-04 19:04:50 +0000
committerTim Angus <tim@ngus.net>2006-03-04 19:04:50 +0000
commit5da3420e72083d142352529acc11e1518ff153ba (patch)
tree7a8449dbe9989eebec47673e1c714e2f9cd4238a /src/qcommon/vm.c
parent509b49968e696c7d01ebfe47eeef13acad8b6a32 (diff)
* Merged ioq3-r620
- NX stuff
Diffstat (limited to 'src/qcommon/vm.c')
-rw-r--r--src/qcommon/vm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qcommon/vm.c b/src/qcommon/vm.c
index 27f30f09..0235ffea 100644
--- a/src/qcommon/vm.c
+++ b/src/qcommon/vm.c
@@ -616,6 +616,9 @@ VM_Free
*/
void VM_Free( vm_t *vm ) {
+ if(vm->destroy)
+ vm->destroy(vm);
+
if ( vm->dllHandle ) {
Sys_UnloadDll( vm->dllHandle );
Com_Memset( vm, 0, sizeof( *vm ) );