[PATCHv2 07/13] mi: fix memory leak in miFillUniqueSpanGroup
Tiago Vignatti
tiago.vignatti at nokia.com
Mon Mar 28 06:14:29 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