aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-16 13:39:06 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:50 +0800
commit173e2b3f0e1ee62170de31d41c0feb7602d4e3a6 (patch)
tree06c91f46d7d21934f58a7f53d2c428d0dedcc113
parent08e62014fe4a11e3c9b4c4c46339684af36ef5ef (diff)
downloadgsoc2013-evolution-173e2b3f0e1ee62170de31d41c0feb7602d4e3a6.tar
gsoc2013-evolution-173e2b3f0e1ee62170de31d41c0feb7602d4e3a6.tar.gz
gsoc2013-evolution-173e2b3f0e1ee62170de31d41c0feb7602d4e3a6.tar.bz2
gsoc2013-evolution-173e2b3f0e1ee62170de31d41c0feb7602d4e3a6.tar.lz
gsoc2013-evolution-173e2b3f0e1ee62170de31d41c0feb7602d4e3a6.tar.xz
gsoc2013-evolution-173e2b3f0e1ee62170de31d41c0feb7602d4e3a6.tar.zst
gsoc2013-evolution-173e2b3f0e1ee62170de31d41c0feb7602d4e3a6.zip
Using of uninitialized memory in em-folder-tree-model.c:store_info_free
-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 (