devPrivates rework: properly free devPrivates on compatibility structures,

type pixmap.  Requires ddx'es to call the free function from DestroyPixmap.
This commit is contained in:
Eamon Walsh
2007-04-05 14:18:05 -04:00
committed by Eamon Walsh
parent 1d550bb2c5
commit 5ad562565a
12 changed files with 20 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ mfbDestroyPixmap(pPixmap)
{
if(--pPixmap->refcnt)
return TRUE;
dixFreePrivates(*DEVPRIV_PTR(pPixmap));
xfree(pPixmap);
return TRUE;
}