diff --git a/dtool/src/dtoolbase/typeRegistry.cxx b/dtool/src/dtoolbase/typeRegistry.cxx index 0c0fd456b9..4a618377b1 100644 --- a/dtool/src/dtoolbase/typeRegistry.cxx +++ b/dtool/src/dtoolbase/typeRegistry.cxx @@ -590,6 +590,7 @@ TypeRegistry() { //////////////////////////////////////////////////////////////////// void TypeRegistry:: init_global_pointer() { + init_memory_hook(); _global_pointer = new TypeRegistry; }