Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_entry_dialog.c 


Log Message:
Add return value.
Free e objects with e_object_del

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_entry_dialog.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_entry_dialog.c    14 Aug 2006 15:22:44 -0000      1.5
+++ e_entry_dialog.c    15 Aug 2006 20:23:26 -0000      1.6
@@ -29,8 +29,8 @@
    dia = e_dialog_new(e_container_current_get(e_manager_current_get()), "E", 
"_entry_dialog");
    if (!dia) 
      {
-       E_FREE(ed);
-       return;
+       e_object_del(E_OBJECT(ed));
+       return NULL;
      }
    dia->data = ed;
    ed->dia = dia;



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to