fix(test_anim): fix stack-use-after-return (#7730)

This commit is contained in:
VIFEX
2025-02-10 13:18:40 +08:00
committed by GitHub
parent b9e0c4daaf
commit b15107eec5
+3
View File
@@ -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)