summaryrefslogtreecommitdiff
path: root/mfb
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 /mfb
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 'mfb')
-rw-r--r--mfb/mfb.h1
-rw-r--r--mfb/mfbpixmap.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mfb/mfb.h b/mfb/mfb.h
index f597b16a5..3cded7b71 100644
--- a/mfb/mfb.h
+++ b/mfb/mfb.h
@@ -58,6 +58,7 @@ SOFTWARE.
#include "region.h"
#include "gc.h"
#include "colormap.h"
+#include "privates.h"
#include "miscstruct.h"
#include "mibstore.h"
diff --git a/mfb/mfbpixmap.c b/mfb/mfbpixmap.c
index e34972451..b13e3af0f 100644
--- a/mfb/mfbpixmap.c
+++ b/mfb/mfbpixmap.c
@@ -113,6 +113,7 @@ mfbDestroyPixmap(pPixmap)
{
if(--pPixmap->refcnt)
return TRUE;
+ dixFreePrivates(*DEVPRIV_PTR(pPixmap));
xfree(pPixmap);
return TRUE;
}