Valgrind is awesome!
This patch fixed crash issue :)

Thanks.

Daniel Juyung Seo (SeoZ)


On Tue, Feb 12, 2013 at 3:49 PM, Enlightenment SVN <
no-re...@enlightenment.org> wrote:

> Log:
> don't know if this will help - but try quieten some valgrind
>   complaints... :/ (trying)
>
>
>
> Author:       raster
> Date:         2013-02-11 22:49:42 -0800 (Mon, 11 Feb 2013)
> New Revision: 83840
> Trac:         http://trac.enlightenment.org/e/changeset/83840
>
> Modified:
>   trunk/efl/src/lib/ecore_evas/ecore_evas.c
>
> Modified: trunk/efl/src/lib/ecore_evas/ecore_evas.c
> ===================================================================
> --- trunk/efl/src/lib/ecore_evas/ecore_evas.c   2013-02-12 06:33:19 UTC
> (rev 83839)
> +++ trunk/efl/src/lib/ecore_evas/ecore_evas.c   2013-02-12 06:49:42 UTC
> (rev 83840)
> @@ -2458,6 +2458,7 @@
>     ee->driver = NULL;
>     if (ee->engine.idle_flush_timer)
>       ecore_timer_del(ee->engine.idle_flush_timer);
> +   ee->engine.idle_flush_timer = NULL;
>     if (ee->engine.func->fn_free) ee->engine.func->fn_free(ee);
>     if (ee->registered)
>       {
> @@ -2475,11 +2476,10 @@
>  static Eina_Bool
>  _ecore_evas_cb_idle_flush(void *data)
>  {
> -   Ecore_Evas *ee;
> +   Ecore_Evas *ee = data;
>
> -   ee = (Ecore_Evas *)data;
> +   ee->engine.idle_flush_timer = NULL;
>     evas_render_idle_flush(ee->evas);
> -   ee->engine.idle_flush_timer = NULL;
>     return ECORE_CALLBACK_CANCEL;
>  }
>
>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to