Re: [AD] Allegro 4.2.0 RC2 -- bcc

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert Glebbeek wrote:
I think there should be _al_free(builtin_prop); with that it works OK

If you believe me, here is a patch :-)

Looks good, but can't we get rid of that unnescessary if(..) too?

as you wish

--
Regards,
    Michal

ICQ# 175762750
--- datedit.c.old	Wed Aug  3 03:34:38 2005
+++ datedit.c	Fri Sep  9 00:26:38 2005
@@ -91,8 +91,7 @@
 /* main cleanup routine */
 static void datedit_exit(void)
 {
-   if (builtin_prop)
-      free(builtin_prop);
+   _al_free(builtin_prop);
 }
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/