-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace memory allocation point of ValueTrack correctly in AnimationMixer #85001
Conversation
8a4110e
to
5f48021
Compare
I'll fix the commit up shortly. Didn't mean to create a second commit. |
Okay, please squash later. |
9beb3c0
to
33e253d
Compare
33e253d
to
2f43f4a
Compare
@alesliehughes It's not obvious to me what this does, could you add more details on what the bug is in the PR description? |
When a animation track doesn't have an keys, it's possible that we leak memory due the ERR_CONTINUE_MSG macro usage. By checking the error condition first, we avoid a allocated and thus the leak. I'll update the patch with the above. |
…ixer When a animation track doesn't have an keys, it's possible that we leak memory due the ERR_CONTINUE_MSG macro usage. By checking the error condition first, we avoid a allocation and thus the leak.
2f43f4a
to
ea84eff
Compare
Thanks! |
Cherry-picked for 4.2.2. |
No description provided.