summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-28 22:12:09 +0100
committerGitHub <noreply@github.com>2018-02-28 22:12:09 +0100
commit77e8cb2655e877c2e2da7bc8f3b87b184fef5fb3 (patch)
tree19e65ebbcc65823ab297a1e43f4adfb9c88dda44 /modules
parentc6dff58f491c30ffc2a81a8d69da86ff8105053f (diff)
parentd702d7b335c0c9305e75131770c0ea739b70d813 (diff)
Merge pull request #17117 from hpvb/fix-use-uninitialized-redux
Fix various valgrind reported uninitialized variable uses
Diffstat (limited to 'modules')
-rw-r--r--modules/gdnative/nativescript/nativescript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp
index f2e9bef467..3083ae7bbd 100644
--- a/modules/gdnative/nativescript/nativescript.cpp
+++ b/modules/gdnative/nativescript/nativescript.cpp
@@ -957,6 +957,7 @@ void NativeScriptLanguage::_unload_stuff(bool p_reload) {
NativeScriptLanguage::NativeScriptLanguage() {
NativeScriptLanguage::singleton = this;
+ has_objects_to_register = false;
#ifndef NO_THREADS
mutex = Mutex::create();
#endif