feat(group): check for null object in lv_group_remove_obj (#10205)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Akos Vandra-Meyer
2026-06-09 18:55:24 +02:00
committed by André Costa
co-authored by Claude Sonnet 4.6
parent 8736e1325d
commit bd057e75c3
+2
View File
@@ -180,6 +180,8 @@ void lv_group_swap_obj(lv_obj_t * obj1, lv_obj_t * obj2)
void lv_group_remove_obj(lv_obj_t * obj)
{
LV_CHECK_ARG(obj != NULL, return);
lv_group_t * g = lv_obj_get_group(obj);
if(g == NULL) return;