X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fwrite_graphite.c;h=7d7c0e8f668f2657e96922c439f65ef74d8783ba;hb=c7ab57a44a8bbfc17fa4d184f2c66eae03451f2a;hp=a8d132060ab731843f842844f0d8ecaf5a871853;hpb=a1b19a64325554b0410daaefed3ce229b34958b7;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);