* loader.c (mono_method_signature_checked): Release the domain
lock on failure.
svn path=/trunk/mono/; revision=160195
+2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * loader.c (mono_method_signature_checked): Release the domain
+ lock on failure.
+
2010-07-10 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Store the forwarding address in the first word of an
/* the lock is recursive */
signature = mono_method_signature (imethod->declaring);
signature = inflate_generic_signature_checked (imethod->declaring->klass->image, signature, mono_method_get_context (m), error);
- if (!mono_error_ok (error))
+ if (!mono_error_ok (error)) {
+ mono_loader_unlock ();
return NULL;
+ }
inflated_signatures_size += mono_metadata_signature_size (signature);