mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 02:37:01 +08:00
fix(test_anim): fix stack-use-after-return (#7730)
This commit is contained in:
@@ -145,6 +145,9 @@ void test_anim_pause_for(void)
|
||||
lv_test_wait(40);
|
||||
|
||||
TEST_ASSERT_EQUAL(79, var);
|
||||
|
||||
/*Delete the animation to avoid accessing it after return*/
|
||||
lv_anim_delete(&var, exec_cb);
|
||||
}
|
||||
|
||||
void test_anim_pause_for_resume(void)
|
||||
|
||||
Reference in New Issue
Block a user