aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-09-07 15:51:47 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-09-07 15:51:47 +0800
commite0965ab239c03af7a2bec82b1d39bb5f085e6e23 (patch)
tree946eee9f7cb4090de265afd449d3dc8e9bf8fe62 /mail/em-folder-utils.c
parent9841d5bfd279d7f8540f2035fb0fa5b6eddb4138 (diff)
downloadgsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.gz
gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.tar.zst
gsoc2013-evolution-e0965ab239c03af7a2bec82b1d39bb5f085e6e23.zip
2007-09-07 mcrha Fix for bug #473903
svn path=/trunk/; revision=34192
Diffstat (limited to 'mail/em-folder-utils.c')
-rw-r--r--mail/em-folder-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index 66935aedd8..3fe2587195 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -678,6 +678,7 @@ new_folder_created_cb (CamelFolderInfo *fi, void *user_data)
em_folder_tree_set_selected ((EMFolderTree *) emcftd->emft, emcftd->uri, GPOINTER_TO_INT(g_object_get_data ((GObject *)emcftd->emft, "select")) ? FALSE : TRUE);
}
g_object_unref (emcftd->emfs);
+ g_free (emcftd->uri);
g_free (emcftd);
}
@@ -725,7 +726,7 @@ emfu_popup_new_folder_response (EMFolderSelector *emfs, int response, gpointer d
/* Temp data to pass to create_folder_real function */
emcftd = (struct _EMCreateFolderTempData *) g_malloc(sizeof(struct _EMCreateFolderTempData));
emcftd->emfs = emfs;
- emcftd->uri = uri;
+ emcftd->uri = g_strdup (uri);
emcftd->emft = (EMFolderTree *) data;
g_object_ref (emfs);