X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fmethod-builder.c;h=09e6027f4a0d53b7f5c2d50eed49cc7c59b1479b;hb=44d346f73a684738c00775c1fd6ee56877019898;hp=4f6eb93ba60da7444c0b6b873b002bb1f5dd9dab;hpb=1af57bfcb6d04d43043a122a92e4c6d880f9acf0;p=mono.git diff --git a/mono/metadata/method-builder.c b/mono/metadata/method-builder.c index 4f6eb93ba60..09e6027f4a0 100644 --- a/mono/metadata/method-builder.c +++ b/mono/metadata/method-builder.c @@ -185,9 +185,11 @@ mono_mb_create_method (MonoMethodBuilder *mb, MonoMethodSignature *signature, in #endif } +#ifndef DISABLE_JIT /* Free the locals list so mono_mb_free () doesn't free the types twice */ g_list_free (mb->locals_list); mb->locals_list = NULL; +#endif method->signature = signature; if (!signature->hasthis)