ch: virCHMonitorGetIOThreads: fix g_steal_pointer usage

Fixes: 81226d8803
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Ján Tomko 2022-02-02 17:22:50 +01:00
parent 459f8009c2
commit 7b1c1642b1

View File

@ -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: