It has wrong indentation. please revise this patch :) 2013. 1. 9. 오후 9:44에 "Enlightenment SVN" <no-re...@enlightenment.org>님이 작성:
> Log: > elementary/elm_index : Freed pointer should not be returned. > > > Author: woohyun > Date: 2013-01-09 04:43:51 -0800 (Wed, 09 Jan 2013) > New Revision: 82458 > Trac: http://trac.enlightenment.org/e/changeset/82458 > > Modified: > trunk/elementary/src/lib/elm_index.c > > Modified: trunk/elementary/src/lib/elm_index.c > =================================================================== > --- trunk/elementary/src/lib/elm_index.c 2013-01-09 12:22:52 UTC > (rev 82457) > +++ trunk/elementary/src/lib/elm_index.c 2013-01-09 12:43:51 UTC > (rev 82458) > @@ -1259,11 +1259,15 @@ > p_it->base.data = it->base.data; > _item_free(it); > elm_widget_item_del(it); > + it = NULL; > } > } > _index_box_clear(obj, sd->bx[sd->level], sd->level); > > - *ret = (Elm_Object_Item *)it; > + if (!it) > + *ret = NULL; > + else > + *ret = (Elm_Object_Item *)it; > } > > EAPI Elm_Object_Item * > > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel