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 @@ 2012-08-24 Cedric Bail * Add eet_connection_empty. + +2012-08-26 Cedric Bail + + * 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: * Fix crash when cyphering huge amount of data. * Possible wrong size decoding of simple type. * Don't strdup string around for nothing. + * Always initialize dictionary correctly. Eet 1.6.0 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) ef)) return NULL; - ef->ed = eet_dictionary_calloc(1); + ef->ed = eet_dictionary_add(); if (eet_test_close(!ef->ed, ef)) return NULL;