fixes if the freed memory become dirty

This commit is contained in:
Gabor Kiss-Vamosi
2018-10-15 19:00:03 +02:00
parent 03e6b1bff7
commit 603e9336d4
6 changed files with 28 additions and 12 deletions

View File

@@ -266,6 +266,7 @@ static bool anim_ready_handler(lv_anim_t * a)
void * p = a->var;
lv_ll_rem(&anim_ll, a);
lv_mem_free(a);
anim_list_changed = true;
/* Call the callback function at the end*/
/* Check if an animation is deleted in the cb function