diff --git a/src/perl.c b/src/perl.c
index 0a98684e9e809f30be3eb042abe3a254bb028510..cf09586f71abceeb644cc1fd8d9083867fd6da82 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
/* the ithread no longer exists */
if (NULL == t)
/* the ithread no longer exists */
if (NULL == t)
+ {
+ pthread_mutex_unlock (&perl_threads->mutex);
return;
return;
+ }
c_ithread_destroy (ithread);
c_ithread_destroy (ithread);