Fix the build.
authorZoltan Varga <vargaz@gmail.com>
Fri, 13 May 2011 15:44:56 +0000 (17:44 +0200)
committerZoltan Varga <vargaz@gmail.com>
Fri, 13 May 2011 15:44:56 +0000 (17:44 +0200)
mono/metadata/domain.c

index 978d42169d6722ca966bdce1f97734657ae72037..c2bfb5d1eb032a3b8ec58609e9958c761d486f24 100644 (file)
@@ -1189,6 +1189,7 @@ mono_domain_create (void)
        domain->jit_info_free_queue = NULL;
        domain->finalizable_objects_hash = g_hash_table_new (mono_aligned_addr_hash, NULL);
        domain->track_resurrection_handles_hash = g_hash_table_new (mono_aligned_addr_hash, NULL);
+       domain->ftnptrs_hash = g_hash_table_new (mono_aligned_addr_hash, NULL);
 
        InitializeCriticalSection (&domain->lock);
        InitializeCriticalSection (&domain->assemblies_lock);
@@ -1243,7 +1244,6 @@ mono_init_internal (const char *filename, const char *exe_filename, const char *
        /* Avoid system error message boxes. */
        SetErrorMode (SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
 #endif
-       domain->ftnptrs_hash = g_hash_table_new (mono_aligned_addr_hash, NULL);
 
        mono_perfcounters_init ();