summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-02 16:18:17 +0200
committerGitHub <noreply@github.com>2022-05-02 16:18:17 +0200
commit647a2025138204e6d225a6f6db20caf46e5ee6f3 (patch)
tree3ef76154449599ee614d3de2993c19d4e2e9065b /core
parentdd06cb90c541b39de764ac7bbafd61fb2b9abb48 (diff)
parent7b18c35ab29a2b91c888e384968ce2e666753a96 (diff)
Merge pull request #60709 from bruvzg/fix_txt_res_dep_rename
Diffstat (limited to 'core')
-rw-r--r--core/io/resource_format_binary.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp
index b6988109c5..bc7e524892 100644
--- a/core/io/resource_format_binary.cpp
+++ b/core/io/resource_format_binary.cpp
@@ -1287,6 +1287,7 @@ Error ResourceFormatLoaderBinary::rename_dependencies(const String &p_path, cons
fw->store_8(b);
b = f->get_8();
}
+ f.unref();
bool all_ok = fw->get_error() == OK;