evolution r36211 - branches/mail-dbus-remoting/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36211 - branches/mail-dbus-remoting/mail
- Date: Fri, 29 Aug 2008 20:02:47 +0000 (UTC)
Author: sragavan
Date: Fri Aug 29 20:02:47 2008
New Revision: 36211
URL: http://svn.gnome.org/viewvc/evolution?rev=36211&view=rev
Log:
Safe some more code to start up.
Modified:
branches/mail-dbus-remoting/mail/mail-component.c
Modified: branches/mail-dbus-remoting/mail/mail-component.c
==============================================================================
--- branches/mail-dbus-remoting/mail/mail-component.c (original)
+++ branches/mail-dbus-remoting/mail/mail-component.c Fri Aug 29 20:02:47 2008
@@ -695,11 +695,12 @@
/* Get the currently displayed folder. */
uri = mail_tools_folder_to_url (emfv->list->folder);
current_curl = uri ? camel_url_new (uri, NULL) : NULL;
- g_free (uri);
+ g_free (uri);uri = NULL;
/* Get the selected folder in the folder tree. */
selected_folder = em_folder_tree_get_selected_folder(EM_FOLDER_TREE (emft));
- uri = mail_tools_folder_to_url (selected_folder);
+ if (selected_folder)
+ uri = mail_tools_folder_to_url (selected_folder);
selected_curl = uri ? camel_url_new (uri, NULL) : NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]