diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-02-05 21:42:47 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@redhat.com> | 2005-02-05 21:42:47 +0000 |
commit | 092c5ca5583512c9689397f355d3d0b7a09c882e (patch) | |
tree | aa6a9581961a1a2510b68267504b86429a416748 /src/cairo-win32-font.c | |
parent | eb01786729b3d56f47ddf593fd5cc826d5c75064 (diff) |
Free glyph_indices, not glyphs. (Reported by Hans Breuer.)
Diffstat (limited to 'src/cairo-win32-font.c')
-rw-r--r-- | src/cairo-win32-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-win32-font.c b/src/cairo-win32-font.c index d72d19a8..b847b91f 100644 --- a/src/cairo-win32-font.c +++ b/src/cairo-win32-font.c @@ -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); |