devPrivates rework: properly free devPrivates on compatibility structures,

excluding pixmap.
This commit is contained in:
Eamon Walsh
2007-04-04 15:59:51 -04:00
committed by Eamon Walsh
parent 1cb84768f3
commit 63e46e4fc3
7 changed files with 15 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ int ProcInitialConnection();
#include "panoramiX.h"
#include "panoramiXsrv.h"
#endif
#include "privates.h"
#include "xace.h"
#ifdef XAPPGROUP
#include "appgroup.h"
@@ -3651,6 +3652,7 @@ CloseDownClient(ClientPtr client)
#ifdef SMART_SCHEDULE
SmartLastClient = NullClient;
#endif
dixFreePrivates(*DEVPRIV_PTR(client));
xfree(client);
while (!clients[currentMaxClients-1])