diff options
author | Christian Persch <chpe@src.gnome.org> | 2018-05-29 10:47:22 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2018-05-29 10:47:22 +0200 |
commit | 2f7053f5fa9154437b9397cd204a38e2686107bc (patch) | |
tree | ba6046e1cdc1f89f56c759dd30a5e7d0179c943b | |
parent | fbaeb201268d85f0172d3fb4d4d5859fd0177ded (diff) | |
download | gnome-terminal-2f7053f5fa9154437b9397cd204a38e2686107bc.tar.gz |
client: legacy: Fix invalid free
Use g_free() for memory allocated with g_new().
https://gitlab.gnome.org/GNOME/gnome-terminal/issues/1
-rw-r--r-- | src/terminal-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal-options.c b/src/terminal-options.c index d1e8a4a4..83ead890 100644 --- a/src/terminal-options.c +++ b/src/terminal-options.c @@ -1277,7 +1277,7 @@ terminal_options_free (TerminalOptions *options) g_clear_object (&options->profiles_list); - g_slice_free (TerminalOptions, options); + g_free (options); } static GOptionContext * |