aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-16 13:39:06 +0800
committerMilan Crha <mcrha@redhat.com>2011-08-16 13:39:06 +0800
commit6e1e36c0474312058a1479d2f570428c2dc0e806 (patch)
treed8989b0f21f128d7ab314af36ebf659227e98244 /mail
parentf3648e1cb5f1a2537b557bce2ff9b0bc4f17c751 (diff)
downloadgsoc2013-evolution-6e1e36c0474312058a1479d2f570428c2dc0e806.tar
gsoc2013-evolution-6e1e36c0474312058a1479d2f570428c2dc0e806.tar.gz
gsoc2013-evolution-6e1e36c0474312058a1479d2f570428c2dc0e806.tar.bz2
gsoc2013-evolution-6e1e36c0474312058a1479d2f570428c2dc0e806.tar.lz
gsoc2013-evolution-6e1e36c0474312058a1479d2f570428c2dc0e806.tar.xz
gsoc2013-evolution-6e1e36c0474312058a1479d2f570428c2dc0e806.tar.zst
gsoc2013-evolution-6e1e36c0474312058a1479d2f570428c2dc0e806.zip
Using of uninitialized memory in em-folder-tree-model.c:store_info_free
Diffstat (limited to 'mail')
-rw-r--r--mail/em-folder-tree-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 05113d05b2..f9ed371430 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -1043,7 +1043,7 @@ em_folder_tree_model_add_store (EMFolderTreeModel *model,
path = gtk_tree_model_get_path (GTK_TREE_MODEL (model), &iter);
reference = gtk_tree_row_reference_new (GTK_TREE_MODEL (model), path);
- si = g_new (EMFolderTreeModelStoreInfo, 1);
+ si = g_new0 (EMFolderTreeModelStoreInfo, 1);
si->store = g_object_ref (store);
si->row = gtk_tree_row_reference_copy (reference);
si->full_hash = g_hash_table_new_full (