summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxpixmap.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-04-05 14:18:05 -0400
committerEamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil>2007-04-05 14:18:05 -0400
commit5ad562565ac8ef9257da3afb0de1ae4f90f80fe9 (patch)
treedb1cc6bbc7f1219c74fb1443769c49cb171d53a8 /hw/dmx/dmxpixmap.c
parent1d550bb2c5cb5b3e588f0e0b68a421dc1cb8bd7c (diff)
devPrivates rework: properly free devPrivates on compatibility structures,
type pixmap. Requires ddx'es to call the free function from DestroyPixmap.
Diffstat (limited to 'hw/dmx/dmxpixmap.c')
-rw-r--r--hw/dmx/dmxpixmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/dmx/dmxpixmap.c b/hw/dmx/dmxpixmap.c
index 934060675..e617134f1 100644
--- a/hw/dmx/dmxpixmap.c
+++ b/hw/dmx/dmxpixmap.c
@@ -45,6 +45,7 @@
#include "pixmapstr.h"
#include "servermd.h"
+#include "privates.h"
/** Initialize a private area in \a pScreen for pixmap information. */
Bool dmxInitPixmap(ScreenPtr pScreen)
@@ -173,6 +174,7 @@ Bool dmxDestroyPixmap(PixmapPtr pPixmap)
dmxSync(dmxScreen, FALSE);
}
}
+ dixFreePrivates(*DEVPRIV_PTR(pPixmap));
xfree(pPixmap);
#if 0