mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[hb-subset] Fix leak
This commit is contained in:
parent
866096d04a
commit
a637c08d5a
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue