diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-04-04 15:59:51 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2007-04-04 15:59:51 -0400 |
commit | 63e46e4fc3e98751f2edbed9c79ef3d5dc2dadc6 (patch) | |
tree | 551ef7b55d753640114999b3b0a2c35fc973ba55 /dix/gc.c | |
parent | 1cb84768f376b477a08a558854609b0743f2bd29 (diff) |
devPrivates rework: properly free devPrivates on compatibility structures,
excluding pixmap.
Diffstat (limited to 'dix/gc.c')
-rw-r--r-- | dix/gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,7 @@ SOFTWARE. #include "scrnintstr.h" #include "region.h" +#include "privates.h" #include "dix.h" #include <assert.h> @@ -903,6 +904,7 @@ FreeGC(pointer value, XID gid) (*pGC->funcs->DestroyGC) (pGC); if (pGC->dash != DefaultDash) xfree(pGC->dash); + dixFreePrivates(*DEVPRIV_PTR(pGC)); xfree(pGC); return(Success); } |