Fix few memory leaks
This commit is contained in:
@ -418,6 +418,8 @@ e_preferences_window_show_page (EPreferencesWindow *window,
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
g_list_free (children);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -460,5 +462,6 @@ e_preferences_window_setup (EPreferencesWindow *window)
|
||||
|
||||
e_util_resize_window_for_screen (GTK_WINDOW (window), -1, -1, slist_children);
|
||||
g_slist_free (slist_children);
|
||||
g_list_free (children);
|
||||
priv->setup = TRUE;
|
||||
}
|
||||
|
||||
@ -270,6 +270,8 @@ epech_load_from_settings (GSettings *settings,
|
||||
|
||||
temp_header_details.number_of_subtype_header = index;
|
||||
g_array_append_val (priv->email_custom_header_details, temp_header_details);
|
||||
|
||||
g_strfreev (parse_header_list);
|
||||
}
|
||||
|
||||
temp_header_details.number_of_header = pos;
|
||||
@ -918,6 +920,8 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
|
||||
for (index = 0; parse_header_list[index + 1] ; ++index) {
|
||||
gtk_list_store_set (cd->store, &iter, HEADER_VALUE_COLUMN, parse_header_list[index + 1], -1);
|
||||
}
|
||||
|
||||
g_strfreev (parse_header_list);
|
||||
}
|
||||
|
||||
g_strfreev (headers);
|
||||
|
||||
Reference in New Issue
Block a user