This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch v-1.26.0
in repository efl.

View the commit online.

commit 076ab651801715842efbf5b135c65a85610a2e14
Author: Jaehyun Cho <jae_hyun....@samsung.com>
AuthorDate: Thu Feb 24 17:26:36 2022 +0900

    edje_calc: fix check return of _edje_fetch
    
    Summary: checks if _edje_fetch returns null before calling _edje_recalc_do.
    
    Reviewers: Hermet, raster, kimcinoo, jsuya
    
    Reviewed By: jsuya
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D12322
---
 src/lib/edje/edje_calc.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 7d66345955..6594e4aade 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -4082,10 +4082,8 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
           }
         if (edje_object_update_hints_get(ep->typedata.swallow->swallowed_object))
           {
-             Edje *ted;
-
-             ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
-             _edje_recalc_do(ted);
+             Edje *ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
+             if (ted) _edje_recalc_do(ted);
           }
 
         Edje_Size *min = NULL, *max = NULL;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to