From 4c61bf84b11e26e6f22648668c95ea760a379163 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 11 Jun 2010 12:14:52 +0000 Subject: xserver git update 11/6/2010 --- xorg-server/mi/mispans.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'xorg-server/mi/mispans.c') diff --git a/xorg-server/mi/mispans.c b/xorg-server/mi/mispans.c index 7b332ee34..ccf2a723e 100644 --- a/xorg-server/mi/mispans.c +++ b/xorg-server/mi/mispans.c @@ -410,10 +410,8 @@ void miFillUniqueSpanGroup(DrawablePtr pDraw, GCPtr pGC, SpanGroup *spanGroup) if (!yspans || !ysizes) { - if (yspans) - free(yspans); - if (ysizes) - free(ysizes); + free(yspans); + free(ysizes); miDisposeSpanGroup (spanGroup); return; } @@ -492,10 +490,8 @@ void miFillUniqueSpanGroup(DrawablePtr pDraw, GCPtr pGC, SpanGroup *spanGroup) } free(yspans); free(ysizes); - if (points) - free(points); - if (widths) - free(widths); + free(points); + free(widths); return; } count = 0; -- cgit v1.2.3