On Tue, 31 May 2011, Enlightenment SVN wrote:
> Log: > [Edje] Make sure ed->members isn't NULL when freeing an Edje object. > > > > Author: acidx > Date: 2011-05-31 11:27:28 -0700 (Tue, 31 May 2011) > New Revision: 59853 > Trac: http://trac.enlightenment.org/e/changeset/59853 > > Modified: > trunk/edje/src/lib/edje_main.c > > Modified: trunk/edje/src/lib/edje_main.c > =================================================================== > --- trunk/edje/src/lib/edje_main.c 2011-05-31 18:05:31 UTC (rev 59852) > +++ trunk/edje/src/lib/edje_main.c 2011-05-31 18:27:28 UTC (rev 59853) > @@ -201,7 +201,7 @@ > free(cb); > } > > - eina_hash_free(ed->members); > + if (ed->members) eina_hash_free(ed->members); eina_hash_free has a check : EINA_MAGIC_CHECK_HASH(hash); EINA_SAFETY_ON_NULL_RETURN(hash); so is it really needed ? Vincent > free(ed); > } > > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with vRanger. > Installation's a snap, and flexible recovery options mean your data is safe, > secure and there when you need it. Data protection magic? > Nope - It's vRanger. Get your free trial download today. > http://p.sf.net/sfu/quest-sfdev2dev > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
