X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_graphite.c;h=7d7c0e8f668f2657e96922c439f65ef74d8783ba;hb=9c6c1bdb92537f307d245c52349d3f196ec4d33d;hp=a8d132060ab731843f842844f0d8ecaf5a871853;hpb=1581f3b307554cbf8b5784729754c5d73a1192a5;p=collectd.git diff --git a/src/write_graphite.c b/src/write_graphite.c index a8d13206..7d7c0e8f 100644 --- a/src/write_graphite.c +++ b/src/write_graphite.c @@ -312,6 +312,7 @@ static void wg_callback_free(void *data) { sfree(cb->prefix); sfree(cb->postfix); + pthread_mutex_unlock(&cb->send_lock); pthread_mutex_destroy(&cb->send_lock); sfree(cb);