From 7b1c1642b1bc54971edf7a57cf9ecf2ac4e46e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Wed, 2 Feb 2022 17:22:50 +0100 Subject: [PATCH] ch: virCHMonitorGetIOThreads: fix g_steal_pointer usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 81226d88034fd460855ac75dd2c985ca91ff6219 Signed-off-by: Ján Tomko Reviewed-by: Andrea Bolognani --- src/ch/ch_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c index 4d5d2c69b8..60905e36c2 100644 --- a/src/ch/ch_monitor.c +++ b/src/ch/ch_monitor.c @@ -977,7 +977,7 @@ virCHMonitorGetIOThreads(virCHMonitor *mon, } VIR_DEBUG("niothreads = %ld", niothreads); - *iothreads = g_steal_pointer(iothreadinfolist); + *iothreads = g_steal_pointer(&iothreadinfolist); return niothreads; error: