diff --git a/src/ldso/pe_load_framework_loader_ex.c b/src/ldso/pe_load_framework_loader_ex.c
index 80aa8b1..25428aa 100644
--- a/src/ldso/pe_load_framework_loader_ex.c
+++ b/src/ldso/pe_load_framework_loader_ex.c
@@ -37,6 +37,8 @@ int32_t pe_load_framework_loader_ex(
 		context.hroot        = 0;
 		context.hdsodir      = 0;
 		context.hloader      = 0;
+		context.hexec        = 0;
+		context.hpeer        = 0;
 		context.hcwd         = 0;
 		context.hdrive       = 0;