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:
@@ -113,6 +113,7 @@ mfbDestroyPixmap(pPixmap)
|
||||
{
|
||||
if(--pPixmap->refcnt)
|
||||
return TRUE;
|
||||
dixFreePrivates(*DEVPRIV_PTR(pPixmap));
|
||||
xfree(pPixmap);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user