From 173e2b3f0e1ee62170de31d41c0feb7602d4e3a6 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 16 Aug 2011 07:39:06 +0200 Subject: Using of uninitialized memory in em-folder-tree-model.c:store_info_free --- mail/em-folder-tree-model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail') 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 ( -- cgit v1.2.3