Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_widget_ilist.c 


Log Message:
Return on error.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_ilist.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_widget_ilist.c    3 Jan 2007 16:59:56 -0000       1.25
+++ e_widget_ilist.c    3 Jan 2007 17:02:16 -0000       1.26
@@ -73,6 +73,7 @@
    
    wd = e_widget_data_get(obj);
    wcb = E_NEW(E_Widget_Callback, 1);
+   if (!wcb) return;
    wcb->func = func;
    wcb->data = data;
    if (val) wcb->value = strdup(val);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to