summaryrefslogtreecommitdiff
path: root/dix/colormap.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-04-04 15:59:51 -0400
committerEamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil>2007-04-04 15:59:51 -0400
commit63e46e4fc3e98751f2edbed9c79ef3d5dc2dadc6 (patch)
tree551ef7b55d753640114999b3b0a2c35fc973ba55 /dix/colormap.c
parent1cb84768f376b477a08a558854609b0743f2bd29 (diff)
devPrivates rework: properly free devPrivates on compatibility structures,
excluding pixmap.
Diffstat (limited to 'dix/colormap.c')
-rw-r--r--dix/colormap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/colormap.c b/dix/colormap.c
index 73b666971..515557030 100644
--- a/dix/colormap.c
+++ b/dix/colormap.c
@@ -63,6 +63,7 @@ SOFTWARE.
#include "scrnintstr.h"
#include "resource.h"
#include "windowstr.h"
+#include "privates.h"
extern XID clientErrorValue;
extern int colormapPrivateCount;
@@ -474,6 +475,7 @@ FreeColormap (pointer value, XID mid)
}
}
+ dixFreePrivates(*DEVPRIV_PTR(pmap));
if (pmap->devPrivates)
xfree(pmap->devPrivates);