From c04e1769021d9b52caebb42d67cf6129d3e3f042 Mon Sep 17 00:00:00 2001 From: Michal Skorupinski Date: Wed, 12 Dec 2018 20:49:43 +0100 Subject: [PATCH] Segfault when using bezel in the car list fixed Change-Id: Ie5945d9d4cd2e93a167fe7f317272813b193bd4b Signed-off-by: Michal Skorupinski --- src/model/model_hw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/model/model_hw.c b/src/model/model_hw.c index 54f4361..d0ecb31 100644 --- a/src/model/model_hw.c +++ b/src/model/model_hw.c @@ -53,6 +53,10 @@ static Eina_Bool _rotary_cb(void *data, Eext_Rotary_Event_Info *info) { static s_model_hw_cb_data cb_data = { 0, }; + if (!s_info.hw_update_cb) { + return true; + } + if (s_info.rotary_deactivated) { return true; } -- 2.7.4