projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0fc91
)
perl: unlock mutex on error
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 29 Nov 2015 17:06:33 +0000
(18:06 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 12 Jan 2016 06:59:11 +0000
(07:59 +0100)
CID 37970
src/perl.c
patch
|
blob
|
history
diff --git
a/src/perl.c
b/src/perl.c
index
d42afc2
..
d247dc0
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-1202,7
+1202,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);