projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #1404 from rubenk/libcollectdclient-fix-double-close
[collectd.git]
/
src
/
perl.c
diff --git
a/src/perl.c
b/src/perl.c
index
0a98684
..
cf09586
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-1199,7
+1199,10
@@
static void c_ithread_destructor (void *arg)
/* the ithread no longer exists */
if (NULL == t)
+ {
+ pthread_mutex_unlock (&perl_threads->mutex);
return;
+ }
c_ithread_destroy (ithread);