Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_util.c 


Log Message:
fixed a potential segfault
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_util.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- edje_util.c 20 Mar 2005 16:49:10 -0000      1.54
+++ edje_util.c 28 Mar 2005 14:14:15 -0000      1.55
@@ -44,6 +44,8 @@
 void
 edje_fontset_append_set(char *fonts)
 {
+   if (!fonts) return;
+
    if (_edje_fontset_append)
      free(_edje_fontset_append);
    _edje_fontset_append = strdup(fonts);




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to