video + videothumb - fix leak

fix leak on delete of obj

@fix
This commit is contained in:
Carsten Haitzler 2021-03-18 12:12:25 +00:00
parent 9dd7919981
commit 69cab3e815
2 changed files with 2 additions and 0 deletions

View File

@ -441,6 +441,7 @@ _smart_del(Evas_Object *obj)
sd->exe_handler = NULL; sd->exe_handler = NULL;
} }
_parent_sc.del(obj); _parent_sc.del(obj);
free(sd);
emotion_shutdown(); emotion_shutdown();
} }

View File

@ -517,6 +517,7 @@ _smart_del(Evas_Object *obj)
sd->cycle_timer = NULL; sd->cycle_timer = NULL;
_parent_sc.del(obj); _parent_sc.del(obj);
free(sd);
} }
static void static void