about summary refs log tree commit diff stats
path: root/src/box64context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/box64context.c')
-rwxr-xr-xsrc/box64context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/box64context.c b/src/box64context.c
index 5c85f3fa..234657ca 100755
--- a/src/box64context.c
+++ b/src/box64context.c
@@ -259,6 +259,8 @@ box64context_t *NewBox64Context(int argc)
     context->segtls[4].present = 1;
     context->segtls[4].is32bits = 1;
 
+    context->globdata = NewMapSymbols();
+
     initAllHelpers(context);
 
     return context;
@@ -353,6 +355,8 @@ void FreeBox64Context(box64context_t** context)
     if(ctx->emu_sig)
         FreeX64Emu(&ctx->emu_sig);
 
+    FreeMapSymbols(&ctx->globdata);
+
     finiAllHelpers(ctx);
 
 #ifdef DYNAREC