diff options
Diffstat (limited to 'xserver/mi/mibitblt.c')
-rw-r--r-- | xserver/mi/mibitblt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xserver/mi/mibitblt.c b/xserver/mi/mibitblt.c index 28296a449..43d9bd917 100644 --- a/xserver/mi/mibitblt.c +++ b/xserver/mi/mibitblt.c @@ -62,10 +62,6 @@ SOFTWARE. #include <X11/Xmd.h> #include "servermd.h" -#ifndef HAVE_FFS -extern int ffs(int); -#endif - /* MICOPYAREA -- public entry for the CopyArea request * For each rectangle in the source region * get the pixels with GetSpans @@ -145,6 +141,8 @@ miCopyArea(DrawablePtr pSrcDrawable, free(ordering); free(pwidthFirst); free(pptFirst); + if (realSrcClip) + RegionDestroy(prgnSrcClip); return NULL; } |