diff --git a/lib/logwriter.c b/lib/logwriter.c index 1c4f1c7..4411826 100644 --- a/lib/logwriter.c +++ b/lib/logwriter.c @@ -1016,7 +1016,7 @@ struct _LogWriter { /* push back to the queue */ log_queue_push_head(self->queue, lm, &path_options); - + log_msg_unref(lm); msg_set_context(NULL); log_msg_refcache_stop(); break;