summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
Diffstat (limited to 'fb')
-rw-r--r--fb/fb.h1
-rw-r--r--fb/fbpixmap.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 3782fae33..78e48e5bb 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -40,6 +40,7 @@
#include "mi.h"
#include "migc.h"
#include "mibstore.h"
+#include "privates.h"
#ifdef RENDER
#include "picturestr.h"
#else
diff --git a/fb/fbpixmap.c b/fb/fbpixmap.c
index 88f693e73..2b77c4f34 100644
--- a/fb/fbpixmap.c
+++ b/fb/fbpixmap.c
@@ -96,6 +96,7 @@ fbDestroyPixmap (PixmapPtr pPixmap)
{
if(--pPixmap->refcnt)
return TRUE;
+ dixFreePrivates(*DEVPRIV_PTR(pPixmap));
xfree(pPixmap);
return TRUE;
}