Merge branch 'collectd-5.8'
[collectd.git] / src / write_graphite.c
index 1aa07f1..c301ae6 100644 (file)
@@ -303,6 +303,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);