Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/text_fmt


Modified Files:
        ewl_text_fmt.c 


Log Message:
Only destroy the format if it exists.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text_fmt/ewl_text_fmt.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_text_fmt.c      8 Nov 2007 20:35:37 -0000       1.5
+++ ewl_text_fmt.c      8 Nov 2007 20:40:10 -0000       1.6
@@ -108,9 +108,9 @@
        if (fmt)
        {
                snprintf(buf, len, "_new returned fmt when Ewl_Text was NULL.");
+               ewl_text_fmt_destroy(fmt);
                return 0;
        }
-       ewl_text_fmt_destroy(fmt);
        return 1;
 }
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to