[gnome-terminal/gnome-3-8] client: legacy: Fix double-free



commit 7c9b66369682b8cee9b56a06df8615b23f230b3a
Author: Christian Persch <chpe gnome org>
Date:   Fri Jul 5 13:42:28 2013 +0200

    client: legacy: Fix double-free
    
    https://bugzilla.redhat.com/show_bug.cgi?id=981440
    (cherry picked from commit c06c94be3c06e32761b9c2265d40fae0f42ab0ad)

 src/terminal-options.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-options.c b/src/terminal-options.c
index 0a1343e..eba9dc2 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -921,7 +921,6 @@ terminal_options_merge_config (TerminalOptions *options,
 
           profile = g_key_file_get_string (key_file, tab_group, TERMINAL_CONFIG_TERMINAL_PROP_PROFILE_ID, 
NULL);
           it = initial_tab_new (profile /* adopts */);
-          g_free (profile);
 
           iw->tabs = g_list_append (iw->tabs, it);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]