summaryrefslogtreecommitdiff
path: root/modules/mono/glue/nodepath_glue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/glue/nodepath_glue.cpp')
-rw-r--r--modules/mono/glue/nodepath_glue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/nodepath_glue.cpp b/modules/mono/glue/nodepath_glue.cpp
index 4b7648a4f9..422d73104d 100644
--- a/modules/mono/glue/nodepath_glue.cpp
+++ b/modules/mono/glue/nodepath_glue.cpp
@@ -40,7 +40,7 @@ NodePath *godot_icall_NodePath_Ctor(MonoString *p_path) {
void godot_icall_NodePath_Dtor(NodePath *p_ptr) {
ERR_FAIL_NULL(p_ptr);
- _GodotSharp::get_singleton()->queue_dispose(p_ptr);
+ memdelete(p_ptr);
}
MonoString *godot_icall_NodePath_operator_String(NodePath *p_np) {