winex11: Delete the palette and xrender static critical sections when unloading the dll.

This commit is contained in:
Francois Gouget 2011-11-17 09:55:03 +01:00 committed by Alexandre Julliard
parent 54bcda10e5
commit 06646b7aa2
2 changed files with 2 additions and 0 deletions

View File

@ -275,6 +275,7 @@ void X11DRV_PALETTE_Cleanup(void)
COLOR_gapFilled, 0);
wine_tsx11_unlock();
}
DeleteCriticalSection(&palette_cs);
}
/***********************************************************************

View File

@ -1118,6 +1118,7 @@ void X11DRV_XRender_Finalize(void)
for(i = mru; i >= 0; i = glyphsetCache[i].next)
FreeEntry(i);
LeaveCriticalSection(&xrender_cs);
DeleteCriticalSection(&xrender_cs);
}
/**********************************************************************