[hb-subset] Fix leak

This commit is contained in:
Behdad Esfahbod 2025-04-05 15:01:54 -06:00
parent 866096d04a
commit a637c08d5a

View file

@ -245,7 +245,7 @@ parse_gids (const char *name G_GNUC_UNUSED,
}
static gboolean
parse_glyphs (const char *name G_GNUC_UNUSED,
parse_glyphs (const char *name,
const char *arg,
gpointer data,
GError **error G_GNUC_UNUSED)
@ -308,7 +308,7 @@ parse_glyphs (const char *name G_GNUC_UNUSED,
}
static gboolean
parse_text (const char *name G_GNUC_UNUSED,
parse_text (const char *name,
const char *arg,
gpointer data,
GError **error G_GNUC_UNUSED)
@ -342,7 +342,7 @@ parse_text (const char *name G_GNUC_UNUSED,
}
static gboolean
parse_unicodes (const char *name G_GNUC_UNUSED,
parse_unicodes (const char *name,
const char *arg,
gpointer data,
GError **error)
@ -809,7 +809,7 @@ parse_file_for (const char *name,
}
while (!feof (fp));
g_string_free (gs, false);
g_string_free (gs, true);
fclose (fp);