From 5da3420e72083d142352529acc11e1518ff153ba Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 4 Mar 2006 19:04:50 +0000 Subject: * Merged ioq3-r620 - NX stuff --- src/qcommon/vm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qcommon/vm.c') 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 ) ); -- cgit