aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-06-25 02:43:16 +0800
committerMilan Crha <mcrha@redhat.com>2010-06-25 02:43:16 +0800
commit179db75ce041706a590e90a6ac7b801b36091ed6 (patch)
tree1aad2005c928c833690303d749e477e872009aa2 /shell
parent9d538474a855d64e338bf7a94925cbde31a81bd5 (diff)
downloadgsoc2013-evolution-179db75ce041706a590e90a6ac7b801b36091ed6.tar.gz
gsoc2013-evolution-179db75ce041706a590e90a6ac7b801b36091ed6.tar.zst
gsoc2013-evolution-179db75ce041706a590e90a6ac7b801b36091ed6.zip
Bug #620815 - Memory leaks with Evolution
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-searchbar.c1
-rw-r--r--shell/e-shell-window-private.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c
index ceab21aba5..e8e4fe230d 100644
--- a/shell/e-shell-searchbar.c
+++ b/shell/e-shell-searchbar.c
@@ -1385,6 +1385,7 @@ e_shell_searchbar_load_state (EShellSearchbar *searchbar)
else if (searchbar->priv->search_option != NULL)
gtk_radio_action_set_current_value (
searchbar->priv->search_option, 0);
+ g_free (string);
key = STATE_KEY_SEARCH_TEXT;
string = g_key_file_get_string (key_file, state_group, key, NULL);
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 7e7185963e..200a56dbe6 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -97,6 +97,8 @@ shell_window_init_switcher_style (EShellWindow *shell_window)
gtk_radio_action_set_current_value (
GTK_RADIO_ACTION (action), style);
+
+ g_free (string);
}
g_signal_connect (