diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index f2225fabadf..7b48e6fbe92 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -2203,9 +2203,6 @@ AnimationPlayerEditorPlugin::~AnimationPlayerEditorPlugin() { if (dummy_player) { memdelete(dummy_player); } - if (player) { - memdelete(player); - } } // AnimationTrackKeyEditEditorPlugin