diff options
Diffstat (limited to 'modules/calendar/e-memo-shell-view.c')
-rw-r--r-- | modules/calendar/e-memo-shell-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/calendar/e-memo-shell-view.c b/modules/calendar/e-memo-shell-view.c index 8bd49fc871..8f8522c50f 100644 --- a/modules/calendar/e-memo-shell-view.c +++ b/modules/calendar/e-memo-shell-view.c @@ -144,9 +144,9 @@ memo_shell_view_execute_search (EShellView *shell_view) GList *categories; const gchar *category_name; - categories = e_util_get_searchable_categories (); + categories = e_util_dup_searchable_categories (); category_name = g_list_nth_data (categories, value); - g_list_free (categories); + g_list_free_full (categories, g_free); temp = g_strdup_printf ( "(and (has-categories? \"%s\") %s)", |