projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6d13449
)
Merge pull request #1389 from rubenk/perl-unlock-on-error
author
Ruben Kerkhof
<ruben@tilaa.nl>
Sun, 29 Nov 2015 18:05:09 +0000
(19:05 +0100)
committer
Ruben Kerkhof
<ruben@tilaa.nl>
Sun, 29 Nov 2015 18:05:09 +0000
(19:05 +0100)
perl: unlock mutex on error
src/perl.c
patch
|
blob
|
history
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);