Commit babc6925 authored by Myoungwoon Roy, Kim's avatar Myoungwoon Roy, Kim Committed by Carsten Haitzler (Rasterman)

ecore_anim: Check for null ptr deref

Summary:
This patch fixes a tentative crash owing to null ptr dereference
ecore_animator_freeze() has a same patch already.

Test Plan: execute test suite

Reviewers: cedric, raster, jpeg, stefan, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5752
parent 81b5f4a6
......@@ -877,6 +877,7 @@ EAPI void
ecore_animator_thaw(Ecore_Animator *animator)
{
EINA_MAIN_LOOP_CHECK_RETURN;
if (!animator) return ;
if (animator->delete_me) return;
if (animator->suspended)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment