mibltblt: free prgnSrcClip on error path.
Pointed out by coverity.
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit c4591ea171
)
This commit is contained in:
parent
fcbdb7c8b0
commit
64a7aac257
|
@ -141,6 +141,8 @@ miCopyArea(DrawablePtr pSrcDrawable,
|
||||||
free(ordering);
|
free(ordering);
|
||||||
free(pwidthFirst);
|
free(pwidthFirst);
|
||||||
free(pptFirst);
|
free(pptFirst);
|
||||||
|
if (realSrcClip)
|
||||||
|
RegionDestroy(prgnSrcClip);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue