[PATCH v2 4/4] Coverity: mi/mispans.c: leaked_storage: Variable "newpoints" and "newwidths" goes out of scope
Oliver McFadden
oliver.mcfadden at nokia.com
Mon Dec 28 02:32:28 PST 2009
Signed-off-by: Oliver McFadden <oliver.mcfadden at nokia.com>
---
mi/mispans.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/mi/mispans.c b/mi/mispans.c
index 5504341..8a46dfa 100644
--- a/mi/mispans.c
+++ b/mi/mispans.c
@@ -460,6 +460,8 @@ void miFillUniqueSpanGroup(DrawablePtr pDraw, GCPtr pGC, SpanGroup *spanGroup)
}
xfree (yspans);
xfree (ysizes);
+ xfree (newpoints);
+ xfree (newwidths);
miDisposeSpanGroup (spanGroup);
return;
}
--
1.6.1
More information about the xorg-devel
mailing list