[cairo-commit] cairo/src cairo_win32_font.c,1.6,1.7

Owen Taylor commit at pdx.freedesktop.org
Sat Feb 5 21:42:50 PST 2005


Committed by: otaylor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv11541/src

Modified Files:
	cairo_win32_font.c 
Log Message:
2005-02-06  Owen Taylor  <otaylor at redhat.com>

        * src/cairo_win32_font.c (_cairo_win32_font_text_to_glyphs): Free
        glyph_indices, not glyphs. (Reported by Hans Breuer.)


Index: cairo_win32_font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_win32_font.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cairo_win32_font.c	3 Feb 2005 07:14:55 -0000	1.6
+++ cairo_win32_font.c	6 Feb 2005 05:42:47 -0000	1.7
@@ -586,8 +586,8 @@
     }
 
  FAIL2:
-    if (glyphs)
-	free (glyphs);
+    if (glyph_indices)
+	free (glyph_indices);
     if (dx)
 	free (dx);
    




More information about the cairo-commit mailing list