Segfault when using bezel in the car list fixed 44/195344/2
authorMichal Skorupinski <m.skorupinsk@samsung.com>
Wed, 12 Dec 2018 19:49:43 +0000 (20:49 +0100)
committerMichal Skorupinski <m.skorupinsk@samsung.com>
Thu, 17 Jan 2019 14:15:51 +0000 (15:15 +0100)
Change-Id: Ie5945d9d4cd2e93a167fe7f317272813b193bd4b
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
src/model/model_hw.c

index 54f4361..d0ecb31 100644 (file)
@@ -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;
        }