]> jfr.im git - irc/irssi/irssi.git/commitdiff
actually create the queue, too
authorailin-nemui <redacted>
Thu, 4 Oct 2018 07:31:08 +0000 (09:31 +0200)
committerailin-nemui <redacted>
Thu, 4 Oct 2018 07:31:08 +0000 (09:31 +0200)
src/core/rawlog.c

index 8f2d714284ca46a6baf348b15b9cd3de5453694c..dafad057cff41603095afff2420bc58018c8df56 100644 (file)
@@ -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)