split_screen_manager: NULL check before call hint handler 35/292035/4
authorJunseok Kim <juns.kim@samsung.com>
Wed, 26 Apr 2023 04:26:21 +0000 (13:26 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Thu, 27 Apr 2023 04:45:02 +0000 (13:45 +0900)
Change-Id: I64e26c571214a9469179c2c96a530362651b6ed1

src/splitscreen/e_mod_split_screen_manager.c

index 946fcb6..375d73a 100644 (file)
@@ -98,7 +98,8 @@ _e_mod_split_screen_manager_cb_hook_aux_hint_change(void *data, E_Client *ec)
         val = e_hints_aux_hint_value_get(ec, hint);
         if (!val) continue;
 
-        _e_mod_split_screen_manager_hint_handler[i].func(ec, hint, val);
+        if (_e_mod_split_screen_manager_hint_handler[i].func)
+          _e_mod_split_screen_manager_hint_handler[i].func(ec, hint, val);
      }
 
    return;