mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 09:20:19 +01:00
mi: fix memory leak in miFillUniqueSpanGroup
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Nicolas Peninguy <nico@lostgeeks.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9956bd76e1
commit
afb2bffafe
1 changed files with 2 additions and 0 deletions
|
|
@ -458,6 +458,8 @@ void miFillUniqueSpanGroup(DrawablePtr pDraw, GCPtr pGC, SpanGroup *spanGroup)
|
|||
}
|
||||
free(yspans);
|
||||
free(ysizes);
|
||||
free(newpoints);
|
||||
free(newwidths);
|
||||
miDisposeSpanGroup (spanGroup);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue