summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server/gdscript_language_server.cpp
diff options
context:
space:
mode:
authorAlistair Leslie-Hughes <leslie_alistair@hotmail.com>2023-11-16 18:47:46 +1100
committerAlistair Leslie-Hughes <leslie_alistair@hotmail.com>2023-12-12 07:33:35 +1100
commitea84effb845f7959b2eed362855e5c0e8ab68f20 (patch)
tree1e80ee0c50982f0fba063eae2aec545ff2ed0f91 /modules/gdscript/language_server/gdscript_language_server.cpp
parent0c03d25ba499214bd04a55e5df9ea17c9b3a344a (diff)
downloadredot-engine-ea84effb845f7959b2eed362855e5c0e8ab68f20.tar.gz
Replace memory allocation point of ValueTrack correctly in AnimationMixer
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.
Diffstat (limited to 'modules/gdscript/language_server/gdscript_language_server.cpp')
0 files changed, 0 insertions, 0 deletions