mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
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
This commit is contained in:
parent
869084e215
commit
92a72d90b1
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
||||
2000-10-21 Eskil Heyn Olsen <eskil@eazel.com>
|
||||
|
||||
* nautilus.spec.in:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue