diff options
author | George Lebl <jirka@5z.com> | 2000-10-22 10:24:29 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2000-10-22 10:24:29 +0000 |
commit | 92a72d90b108a6a32d36e8a476469e32e33ee158 (patch) | |
tree | 1f6ee13ce2231daf137dbe8badcc0fac4a0c742f /librsvg | |
parent | 869084e2151e2475dacb95841932e97ac8c5f0c6 (diff) | |
download | nautilus-92a72d90b108a6a32d36e8a476469e32e33ee158.tar.gz |
Things allocated with glib functions must be freed with g_free, not free
Sun Oct 22 05:25:46 2000 George Lebl <jirka@5z.com>
* librsvg/rsvg-ft.c (rsvg_ft_ctx_done): Things allocated with
glib functions must be freed with g_free, not free
Diffstat (limited to 'librsvg')
-rw-r--r-- | librsvg/rsvg-ft.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/librsvg/rsvg-ft.c b/librsvg/rsvg-ft.c index d5532f2cb..ee25b4645 100644 --- a/librsvg/rsvg-ft.c +++ b/librsvg/rsvg-ft.c @@ -336,11 +336,11 @@ rsvg_ft_ctx_done (RsvgFTCtx *ctx) { /* Free glyph cache. */ g_hash_table_destroy (ctx->glyph_hash_table); for (glyph_ce = ctx->glyph_first; glyph_ce != NULL; glyph_ce = next) { - free (glyph_ce->desc); - free (glyph_ce->glyph->buf); - free (glyph_ce->glyph); + g_free (glyph_ce->desc); + g_free (glyph_ce->glyph->buf); + g_free (glyph_ce->glyph); next = glyph_ce->next; - free (glyph_ce); + g_free (glyph_ce); } FT_Done_FreeType (ctx->ftlib); |