[PATCHv3 07/14] mi: fix memory leak in miFillUniqueSpanGroup
Tiago Vignatti
tiago.vignatti at nokia.com
Tue Mar 29 08:08:13 PDT 2011
Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
Reviewed-by: Nicolas Peninguy <nico at lostgeeks.org>
---
mi/mispans.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/mi/mispans.c b/mi/mispans.c
index 53539e5..21ba4da 100644
--- a/mi/mispans.c
+++ b/mi/mispans.c
@@ -458,6 +458,8 @@ void miFillUniqueSpanGroup(DrawablePtr pDraw, GCPtr pGC, SpanGroup *spanGroup)
}
free(yspans);
free(ysizes);
+ free(newpoints);
+ free(newwidths);
miDisposeSpanGroup (spanGroup);
return;
}
--
1.7.0.4
More information about the xorg-devel
mailing list