On Sat, Apr 11, 2009 at 7:53 AM, Viktor Kojouharov <vkojouha...@gmail.com> wrote: > On Sat, 2009-04-11 at 07:08 -0300, Gustavo Sverzut Barbieri wrote: >> On Sat, Apr 11, 2009 at 4:22 AM, Enlightenment SVN >> <no-re...@enlightenment.org> wrote: >> > Log: >> > free EinaList at exit >> > + for (l = dpms_list; l; l = eina_list_next(l)) >> > + { >> > + dpms_list = eina_list_remove_list(dpms_list, l); >> > + } >> >> dpms_list = eina_list_free(dpms_list); > > shouldn't the eina_list_free documentation point to EINA_LIST_FREE, > rather than EINA_LIST_FOREACH when freeing data?
yes, it was outdated since cedric added EINA_LIST_FREE() afterwards. Please commit the fix :-) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel