From ff0daf5870909b250e377ffa438c4fe0ebc2f8ce Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Thu, 4 Oct 2018 09:31:08 +0200 Subject: [PATCH] actually create the queue, too --- src/core/rawlog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/rawlog.c b/src/core/rawlog.c index 8f2d7142..dafad057 100644 --- a/src/core/rawlog.c +++ b/src/core/rawlog.c @@ -41,7 +41,8 @@ RAWLOG_REC *rawlog_create(void) RAWLOG_REC *rec; rec = g_new0(RAWLOG_REC, 1); - return rec; + rec->lines = g_queue_new(); + return rec; } void rawlog_destroy(RAWLOG_REC *rawlog)