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