[Evolution] shell/e-shell.c
- From: Simon Cozens <simon cozens net>
- To: evolution helixcode com
- Subject: [Evolution] shell/e-shell.c
- Date: Tue, 9 May 2000 23:29:53 +0900
[Warning - I am not (yet) on this list, so please CC: replies. If I
get to hack more, I'll join, but regard this as a once-off ]
Latest CVS evolution contains this in shell/e-shell.c:
g_free (local_storage_path);
if (local_storage == NULL) {
g_warning (_("Cannot set up local storage -- %s"), local_storage_path);
return FALSE;
}
Please don't free things before printing them. :)
--- shell/e-shell.c~ Tue May 9 23:28:37 2000
+++ shell/e-shell.c Tue May 9 23:28:56 2000
@@ -77,13 +77,13 @@
local_storage_path = g_concat_dir_and_file (priv->local_directory,
LOCAL_STORAGE_DIRECTORY);
local_storage = e_local_storage_open (local_storage_path);
- g_free (local_storage_path);
if (local_storage == NULL) {
g_warning (_("Cannot set up local storage -- %s"), local_storage_path);
return FALSE;
}
+ g_free (local_storage_path);
priv->storage_set = e_storage_set_new ();
e_storage_set_add_storage (priv->storage_set, local_storage);
--
"Saving four times is just paranoia. Unless you're using an Exabyte
5gig/8mm tapedrive." - Graham Reed, ASR
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]