X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_graphite.c;h=13adff50fb23dd09a00694503b099e05a98afa38;hb=6ce52f70cc1e6450df3454f19743a29295b84050;hp=b85ab4704b6eac7046bb835aae8c92474a1cb994;hpb=bdd27cb013de89b4149393212aef1bf45a221dba;p=collectd.git diff --git a/src/write_graphite.c b/src/write_graphite.c index b85ab470..13adff50 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);