mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
composetable: Fix a memory leak
Pointed out by clang.
This commit is contained in:
parent
ce57150203
commit
95fc5109bb
@ -963,6 +963,7 @@ parser_get_compose_table (GtkComposeParser *parser)
|
||||
if (char_data->len >= 0x8000)
|
||||
{
|
||||
g_warning ("GTK can't handle compose tables this large (%s)", parser->compose_file ? parser->compose_file : "");
|
||||
g_free (data);
|
||||
g_string_free (char_data, TRUE);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user