mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 14:34:29 +00:00
mibltblt: free prgnSrcClip on error path.
Pointed out by coverity. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -141,6 +141,8 @@ miCopyArea(DrawablePtr pSrcDrawable,
|
||||
free(ordering);
|
||||
free(pwidthFirst);
|
||||
free(pptFirst);
|
||||
if (realSrcClip)
|
||||
RegionDestroy(prgnSrcClip);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user