mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 06:28:01 +02:00
Free glyph_indices, not glyphs. (Reported by Hans Breuer.)
This commit is contained in:
parent
eb01786729
commit
092c5ca558
3 changed files with 9 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue