summaryrefslogtreecommitdiff
path: root/fb/fb.h
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-08-01 14:30:03 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-08-06 14:22:49 -0700
commit74feba4d77d74979a0ea478d666439ffc55001e5 (patch)
treeaf3fd8b53b4703966e8acea1a8a0f81cfb159490 /fb/fb.h
parentf6aa2200f2fb4f4d4bb51e67d68e86aabcac0c4b (diff)
Don't unwrap too early in libwfb for Composite.
Don't call fbFinishWrap until the pixman_image_t that stores the pointer is actually freed. This prevents corruption or crashes caused by accessing a wrapped pointer after the wrapping is torn down.
Diffstat (limited to 'fb/fb.h')
-rw-r--r--fb/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 3782fae33..27b49f681 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -2117,6 +2117,7 @@ fbPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what);
pixman_image_t *image_from_pict (PicturePtr pict,
Bool has_clip);
+void free_pixman_pict (PicturePtr, pixman_image_t *);
#endif /* _FB_H_ */