Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/src/bin


Modified Files:
        eet_main.c 


Log Message:


make sure eet doesn't leak on "bad decoding". this means api changes though -
sorry.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/bin/eet_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- eet_main.c  2 Dec 2002 23:39:25 -0000       1.2
+++ eet_main.c  7 Jul 2003 07:52:19 -0000       1.3
@@ -56,24 +56,30 @@
                                  evas_list_next, 
                                  evas_list_append, 
                                  evas_list_data, 
-                                 evas_hash_foreach, 
-                                 evas_hash_add);
+                                 evas_list_free,
+                                 evas_hash_foreach,
+                                 evas_hash_add,
+                                 evas_hash_free);
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd3, Blah3, "string3", string, EET_T_STRING);
    
    edd2 = eet_data_descriptor_new("blah2", sizeof(Blah2),
                                  evas_list_next, 
                                  evas_list_append, 
                                  evas_list_data, 
-                                 evas_hash_foreach, 
-                                 evas_hash_add);
+                                 evas_list_free,
+                                 evas_hash_foreach,
+                                 evas_hash_add,
+                                 evas_hash_free);
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd2, Blah2, "string2", string, EET_T_STRING);
    
    edd = eet_data_descriptor_new("blah", sizeof(Blah),
                                  evas_list_next, 
                                  evas_list_append, 
                                  evas_list_data, 
-                                 evas_hash_foreach, 
-                                 evas_hash_add);
+                                 evas_list_free,
+                                 evas_hash_foreach,
+                                 evas_hash_add,
+                                 evas_hash_free);
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd, Blah, "character", character, EET_T_CHAR);
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd, Blah, "sixteen", sixteen, EET_T_SHORT);
    EET_DATA_DESCRIPTOR_ADD_BASIC(edd, Blah, "integer", integer, EET_T_INT);




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to