From 984f6eb42a9541bc31973521fe021fd25c9bcfc2 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 7 Jan 2013 19:31:14 -0800 Subject: [PATCH] shared: Add forgotten initialization of mgmt->reply_queue --- src/shared/mgmt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/mgmt.c b/src/shared/mgmt.c index aa0601418..e9e510528 100644 --- a/src/shared/mgmt.c +++ b/src/shared/mgmt.c @@ -358,6 +358,7 @@ struct mgmt *mgmt_new(int fd) g_io_channel_set_buffered(mgmt->io, FALSE); mgmt->request_queue = g_queue_new(); + mgmt->reply_queue = g_queue_new(); mgmt->read_watch = g_io_add_watch_full(mgmt->io, G_PRIORITY_DEFAULT, G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_NVAL, -- 2.47.3