[evolution/wip/gsettings] Using of uninitialized memory in em-folder-tree-model.c:store_info_free
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Using of uninitialized memory in em-folder-tree-model.c:store_info_free
- Date: Wed, 14 Sep 2011 12:27:46 +0000 (UTC)
commit 173e2b3f0e1ee62170de31d41c0feb7602d4e3a6
Author: Milan Crha <mcrha redhat com>
Date: Tue Aug 16 07:39:06 2011 +0200
Using of uninitialized memory in em-folder-tree-model.c:store_info_free
mail/em-folder-tree-model.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 05113d0..f9ed371 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 (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]