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: