Merged r4121:4122 from branches/SDL-1.2: more double-free fixes.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404362
This commit is contained in:
parent
3617a04d58
commit
26e749b7df
2 changed files with 4 additions and 0 deletions
|
@ -176,6 +176,7 @@ SDL_StopEventThread(void)
|
|||
SDL_WaitThread(SDL_EventThread, NULL);
|
||||
SDL_EventThread = NULL;
|
||||
SDL_DestroyMutex(SDL_EventLock.lock);
|
||||
SDL_EventLock.lock = NULL;
|
||||
}
|
||||
if (SDL_EventQ.lock) {
|
||||
SDL_DestroyMutex(SDL_EventQ.lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue