Signed-off-by: Tiago Vignatti <[email protected]>
---
 dix/colormap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dix/colormap.c b/dix/colormap.c
index 188378b..0e1feb6 100644
--- a/dix/colormap.c
+++ b/dix/colormap.c
@@ -2105,6 +2105,7 @@ AllocShared (ColormapPtr pmap, Pixel *ppix, int c, int r, 
int g, int b,
        {
            for (z++ ; z < npixShared; z++)
                free(ppshared[z]);
+           free(psharedList);
            return FALSE;
        }
     }
-- 
1.7.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to