aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-07 18:53:12 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-07 18:53:12 +0800
commit9d8d0e8a3eda20170ed94bd8ec700b87b98b64da (patch)
treefb03ddd76e40c133328e6eeeaf69b5899af040c5 /mail/em-folder-tree-model.c
parent478f23e3d07098620e2dc41737cc6b219dd40431 (diff)
downloadgsoc2013-evolution-9d8d0e8a3eda20170ed94bd8ec700b87b98b64da.tar.gz
gsoc2013-evolution-9d8d0e8a3eda20170ed94bd8ec700b87b98b64da.tar.zst
gsoc2013-evolution-9d8d0e8a3eda20170ed94bd8ec700b87b98b64da.zip
** Fix for bug #464312
svn path=/trunk/; revision=33965
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 72d86beac2..32172aa961 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -1212,6 +1212,10 @@ em_folder_tree_model_get_selected (EMFolderTreeModel *model)
uri = g_strdup (buf);
xmlFree (buf);
+ if (uri && !*uri) {
+ g_free (uri);
+ return NULL;
+ }
return uri;
}