Oops. Sorry it's my bad.
Thanks for the fix.

Daniel Juyung Seo (SeoZ)


On Sun, Oct 6, 2013 at 11:36 PM, ChunEon Park <her...@hermet.pe.kr> wrote:

> hermet pushed a commit to branch master.
>
>
> http://git.enlightenment.org/core/elementary.git/commit/?id=e9ee16a88a80f3fe929f91494ae462b280fa861c
>
> commit e9ee16a88a80f3fe929f91494ae462b280fa861c
> Author: ChunEon Park <her...@hermet.pe.kr>
> Date:   Sun Oct 6 23:35:51 2013 +0900
>
>     elementary/scroller - set the NULL to not access dangling pointer
> after deleting animator.
> ---
>  src/lib/elm_interface_scrollable.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/elm_interface_scrollable.c
> b/src/lib/elm_interface_scrollable.c
> index cfa76e0..2cbb0c9 100644
> --- a/src/lib/elm_interface_scrollable.c
> +++ b/src/lib/elm_interface_scrollable.c
> @@ -1463,7 +1463,7 @@
> _elm_scroll_bounce_eval(Elm_Scrollable_Smart_Interface_Data *sid)
>            {
>               if (sid->bouncemex)
>                 {
> -                  if (sid->scrollto.x.animator)
> ecore_animator_del(sid->scrollto.x.animator);
> +                  ELM_SAFE_FREE(sid->scrollto.x.animator,
> ecore_animator_del);
>                    sid->down.bounce_x_animator =
>                      ecore_animator_add(_elm_scroll_bounce_x_animator,
> sid->obj);
>                    sid->down.anim_start2 = ecore_loop_time_get();
> @@ -1483,7 +1483,7 @@
> _elm_scroll_bounce_eval(Elm_Scrollable_Smart_Interface_Data *sid)
>            {
>               if (sid->bouncemey)
>                 {
> -                  if (sid->scrollto.y.animator)
> ecore_animator_del(sid->scrollto.y.animator);
> +                  ELM_SAFE_FREE(sid->scrollto.y.animator,
> ecore_animator_del);
>                    sid->down.bounce_y_animator =
>                      ecore_animator_add(_elm_scroll_bounce_y_animator,
> sid->obj);
>                    sid->down.anim_start3 = ecore_loop_time_get();
>
> --
>
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to