diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2012-08-26 02:00:48 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2012-08-26 02:00:48 +0000 |
commit | 6e08ab829e6dabe93da9a4401777cbdf370c9037 (patch) | |
tree | 7a0d54a87d9bfd754ec59095d7d18a3ee7f35343 /legacy/eet | |
parent | 47e843263593ae476a4d1e8c3120104f90dacd18 (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/ChangeLog | 4 | ||||
-rw-r--r-- | legacy/eet/NEWS | 1 | ||||
-rw-r--r-- | legacy/eet/src/lib/eet_lib.c | 2 |
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 @@ | |||
615 | 2012-08-24 Cedric Bail | 615 | 2012-08-24 Cedric Bail |
616 | 616 | ||
617 | * Add eet_connection_empty. | 617 | * Add eet_connection_empty. |
618 | |||
619 | 2012-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 | ||
18 | Eet 1.6.0 | 19 | Eet 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 | ||