projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a23967
)
elm_genlist: additional NULL check on genlist data get
02/283302/2
author
Patryk Kaczmarek
<patryk.k@partner.samsung.com>
Fri, 21 Oct 2022 15:47:28 +0000
(17:47 +0200)
committer
Chun
<jykeon@samsung.com>
Thu, 27 Oct 2022 02:03:09 +0000
(
02:03
+0000)
Change-Id: Ife74c452c5f10afc37ea624d9c6191d8317eb3f2
src/lib/elementary/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_genlist.c
b/src/lib/elementary/elm_genlist.c
index
80c3c6c
..
66023f5
100644
(file)
--- a/
src/lib/elementary/elm_genlist.c
+++ b/
src/lib/elementary/elm_genlist.c
@@
-869,7
+869,7
@@
_calc_job(void *data)
{
int in = 0;
Item_Block *itb, *chb = NULL;
- ELM_GENLIST_DATA_GET(data, sd);
+ ELM_GENLIST_DATA_GET
_OR_RETURN
(data, sd);
Eina_Bool minw_change = EINA_FALSE;
Eina_Bool did_must_recalc = EINA_FALSE;
Evas_Coord minw = -1, minh = 0, y = 0, ow = 0, vw = 0;