mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-21 11:11:37 +00:00
[ruamoko] Clean up some memory leaks
So many sieves.
This commit is contained in:
parent
c28ffbb766
commit
44ad372adb
1 changed files with 4 additions and 0 deletions
|
@ -317,6 +317,9 @@ run_progs (void *data)
|
|||
thread->pr->debug_handler (prd_terminate, &thread->return_code,
|
||||
thread->pr->debug_data);
|
||||
}
|
||||
PR_Shutdown (thread->pr);
|
||||
free (thread->pr);
|
||||
thread->pr = 0;
|
||||
return thread;
|
||||
}
|
||||
|
||||
|
@ -473,6 +476,7 @@ main (int argc, char **argv)
|
|||
ret = thread_data.a[main_ind]->return_code;
|
||||
}
|
||||
|
||||
Cbuf_Delete (qwaq_cbuf);
|
||||
Sys_Shutdown ();
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue