[PATCH 2/4] dmxBERestoreRenderGlyph was passing wrong value to free

Keith Packard keithp at keithp.com
Fri May 7 23:19:19 PDT 2010


Signed-off-by: Keith Packard <keithp at keithp.com>
---
 hw/dmx/dmxextension.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/dmx/dmxextension.c b/hw/dmx/dmxextension.c
index 4e55533..c8e8dae 100644
--- a/hw/dmx/dmxextension.c
+++ b/hw/dmx/dmxextension.c
@@ -1155,7 +1155,7 @@ static void dmxBERestoreRenderGlyph(pointer value, XID id, pointer n)
 		     len_images);
 
     /* Clean up */
-    free(len_images);
+    free(images);
     free(gids);
     free(glyphs);    
 }
-- 
1.7.0.4



More information about the xorg-devel mailing list