Fixes leak in Animation Track editor
Created by: timothyqiu
This fixes #31962 (closed)
-
multi_key_edit
- was not initialized to
NULL
in constructor - was not deleted in destructor
- the delete code before reassignment never got executed
- was not initialized to
-
NodePath
- was used in a strange way (
*memnew(NodePath)
instead ofNodePath()
), and never got deleted
- was used in a strange way (