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
This commit is contained in:
Cedric BAIL 2012-08-26 02:00:48 +00:00
parent 47e8432635
commit 6e08ab829e
3 changed files with 6 additions and 1 deletions

View File

@ -615,3 +615,7 @@
2012-08-24 Cedric Bail
* Add eet_connection_empty.
2012-08-26 Cedric Bail
* Correctly initialize dictionary correctly.

View File

@ -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

View File

@ -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;