X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_tsdb.c;h=9cb3c97de611323b3c731ba7f5bef3883cd2c866;hb=d1599c48cac964a6e8b815df7f87dd24a55b1d29;hp=0c87c473d7aaedbff3106e253683d4b7668b581e;hpb=2079ee1517e34de372f58e7e2267ad5c71a8a41f;p=collectd.git diff --git a/src/write_tsdb.c b/src/write_tsdb.c index 0c87c473..9cb3c97d 100644 --- a/src/write_tsdb.c +++ b/src/write_tsdb.c @@ -219,6 +219,7 @@ static void wt_callback_free(void *data) { sfree(cb->service); sfree(cb->host_tags); + pthread_mutex_unlock(&cb->send_lock); pthread_mutex_destroy(&cb->send_lock); sfree(cb);