diff options
author | Milan Crha <mcrha@redhat.com> | 2011-02-15 02:15:36 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-02-15 02:15:36 +0800 |
commit | 4b9ac3879d25d14cbaaab9237626257c3561f7ff (patch) | |
tree | f9a445d2652644ea9ed64da2cd76f1ad442e83b3 /shell | |
parent | cf41379058d6e78ea138603186acb8174c58e0ca (diff) | |
download | gsoc2013-evolution-4b9ac3879d25d14cbaaab9237626257c3561f7ff.tar.gz gsoc2013-evolution-4b9ac3879d25d14cbaaab9237626257c3561f7ff.tar.zst gsoc2013-evolution-4b9ac3879d25d14cbaaab9237626257c3561f7ff.zip |
Fix few memory leaks
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-view.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index e513eea681..87ec90d058 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -108,8 +108,6 @@ shell_view_init_search_context (EShellViewClass *class) { EShellBackend *shell_backend; ERuleContext *search_context; - EFilterRule *rule; - EFilterPart *part; const gchar *config_dir; gchar *system_filename; gchar *user_filename; @@ -145,15 +143,6 @@ shell_view_init_search_context (EShellViewClass *class) e_rule_context_add_rule, e_rule_context_next_rule); e_rule_context_load (search_context, system_filename, user_filename); - rule = e_filter_rule_new (); - part = e_rule_context_next_part (search_context, NULL); - if (part == NULL) - g_warning ( - "Could not load %s search: no parts", - G_OBJECT_CLASS_NAME (class)); - else - e_filter_rule_add_part (rule, e_filter_part_clone (part)); - g_free (system_filename); g_free (user_filename); } |