Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_button.c Log Message: - make sure label exists before we try to free it =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_button.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -3 -r1.14 -r1.15 --- ewl_button.c 23 Oct 2005 05:33:10 -0000 1.14 +++ ewl_button.c 24 Oct 2005 00:10:28 -0000 1.15 @@ -105,7 +105,7 @@ DCHECK_PARAM_PTR("b", b); DCHECK_TYPE("b", b, "button"); - if (!l) { + if ((!l) && (b->label_object)) { ewl_widget_destroy(b->label_object); b->label_object = NULL; } ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs