zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dd093de23cb0d0eb9b3de5513ef9881b2566efca

commit dd093de23cb0d0eb9b3de5513ef9881b2566efca
Author: Marcel Hollerbach <[email protected]>
Date:   Fri Oct 11 09:42:14 2019 -0400

    efl_canvas_animation_player: fix double free
    
    Summary:
    when we are returning 0 in a animation callback, the animator will be
    deleted.
    
    This fixes a crash in tab_pager.
    Depends on D10306
    
    Reviewers: segfaultxavi
    
    Reviewed By: segfaultxavi
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10307
---
 src/lib/evas/canvas/efl_canvas_animation_player.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evas/canvas/efl_canvas_animation_player.c 
b/src/lib/evas/canvas/efl_canvas_animation_player.c
index 5e2d4046a0..e8b57cb5b9 100644
--- a/src/lib/evas/canvas/efl_canvas_animation_player.c
+++ b/src/lib/evas/canvas/efl_canvas_animation_player.c
@@ -149,6 +149,7 @@ _animator_cb(void *data)
      }
    efl_player_playing_set(eo_obj, EINA_FALSE);
 
+   pd->animator = NULL;
    return ECORE_CALLBACK_CANCEL;
 }
 

-- 


Reply via email to