diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-11-17 23:21:19 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-11-18 00:04:23 -0500 |
commit | 95fc5109bbcfdb8c991d3c447916d6094e6d40bb (patch) | |
tree | 07b95e02072cd71b1eea85bfd0767d7eb6fc52bd | |
parent | ce57150203f8b8fa4527984f178cac8496d8afa9 (diff) | |
download | gtk+-95fc5109bbcfdb8c991d3c447916d6094e6d40bb.tar.gz |
composetable: Fix a memory leak
Pointed out by clang.
-rw-r--r-- | gtk/gtkcomposetable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcomposetable.c b/gtk/gtkcomposetable.c index 0a4f8fd750..37a70ec6a6 100644 --- a/gtk/gtkcomposetable.c +++ b/gtk/gtkcomposetable.c @@ -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; } |