Free glyph_indices, not glyphs. (Reported by Hans Breuer.)

This commit is contained in:
Owen Taylor 2005-02-05 21:42:47 +00:00
parent eb01786729
commit 092c5ca558
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2005-02-06 Owen Taylor <otaylor@redhat.com>
* src/cairo_win32_font.c (_cairo_win32_font_text_to_glyphs): Free
glyph_indices, not glyphs. (Reported by Hans Breuer.)
2005-02-05 Carl Worth <cworth@cworth.org>
* configure.in: Add message stating why glitz backend is disabled.

View file

@ -586,8 +586,8 @@ _cairo_win32_font_text_to_glyphs (void *abstract_font,
}
FAIL2:
if (glyphs)
free (glyphs);
if (glyph_indices)
free (glyph_indices);
if (dx)
free (dx);

View file

@ -586,8 +586,8 @@ _cairo_win32_font_text_to_glyphs (void *abstract_font,
}
FAIL2:
if (glyphs)
free (glyphs);
if (glyph_indices)
free (glyph_indices);
if (dx)
free (dx);