You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
777 B

From 2f7053f5fa9154437b9397cd204a38e2686107bc Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@src.gnome.org>
Date: Tue, 29 May 2018 10:47:22 +0200
Subject: [PATCH] client: legacy: Fix invalid free
Use g_free() for memory allocated with g_new().
https://gitlab.gnome.org/GNOME/gnome-terminal/issues/1
---
src/terminal-options.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/terminal-options.c b/src/terminal-options.c
index d1e8a4a4ca48..83ead8909a52 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 *
--
2.14.3