summaryrefslogtreecommitdiff
path: root/legacy/eet
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-08-26 02:00:48 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-08-26 02:00:48 +0000
commit6e08ab829e6dabe93da9a4401777cbdf370c9037 (patch)
tree7a0d54a87d9bfd754ec59095d7d18a3ee7f35343 /legacy/eet
parent47e843263593ae476a4d1e8c3120104f90dacd18 (diff)
eet: correctly initialize dictionary.
This should fix windows, we were lucky on Unix where the lock are expected to be set to zero... SVN revision: 75703
Diffstat (limited to 'legacy/eet')
-rw-r--r--legacy/eet/ChangeLog4
-rw-r--r--legacy/eet/NEWS1
-rw-r--r--legacy/eet/src/lib/eet_lib.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/legacy/eet/ChangeLog b/legacy/eet/ChangeLog
index 8079e308f5..d20611c928 100644
--- a/legacy/eet/ChangeLog
+++ b/legacy/eet/ChangeLog
@@ -615,3 +615,7 @@
6152012-08-24 Cedric Bail 6152012-08-24 Cedric Bail
616 616
617 * Add eet_connection_empty. 617 * Add eet_connection_empty.
618
6192012-08-26 Cedric Bail
620
621 * Correctly initialize dictionary correctly.
diff --git a/legacy/eet/NEWS b/legacy/eet/NEWS
index a84db86210..58b583aef2 100644
--- a/legacy/eet/NEWS
+++ b/legacy/eet/NEWS
@@ -14,6 +14,7 @@ Fixes:
14 * Fix crash when cyphering huge amount of data. 14 * Fix crash when cyphering huge amount of data.
15 * Possible wrong size decoding of simple type. 15 * Possible wrong size decoding of simple type.
16 * Don't strdup string around for nothing. 16 * Don't strdup string around for nothing.
17 * Always initialize dictionary correctly.
17 18
18Eet 1.6.0 19Eet 1.6.0
19 20
diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c
index 48c6b84cbe..98c9225cb3 100644
--- a/legacy/eet/src/lib/eet_lib.c
+++ b/legacy/eet/src/lib/eet_lib.c
@@ -950,7 +950,7 @@ eet_internal_read2(Eet_File *ef)
950 ef)) 950 ef))
951 return NULL; 951 return NULL;
952 952
953 ef->ed = eet_dictionary_calloc(1); 953 ef->ed = eet_dictionary_add();
954 if (eet_test_close(!ef->ed, ef)) 954 if (eet_test_close(!ef->ed, ef))
955 return NULL; 955 return NULL;
956 956