eet: correctly initialize dictionary.
authorcedric <cedric>
Sun, 26 Aug 2012 02:00:48 +0000 (02:00 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Aug 2012 02:00:48 +0000 (02:00 +0000)
This should fix windows, we were lucky on Unix where the lock
are expected to be set to zero...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@75703 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
NEWS
src/lib/eet_lib.c

index 8079e30..d20611c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2012-08-24  Cedric Bail
 
        * Add eet_connection_empty.
+
+2012-08-26  Cedric Bail
+
+       * Correctly initialize dictionary correctly.
diff --git a/NEWS b/NEWS
index a84db86..58b583a 100644 (file)
--- a/NEWS
+++ b/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
 
index 48c6b84..98c9225 100644 (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;