mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
parent
459f8009c2
commit
7b1c1642b1
@ -977,7 +977,7 @@ virCHMonitorGetIOThreads(virCHMonitor *mon,
|
|||||||
}
|
}
|
||||||
|
|
||||||
VIR_DEBUG("niothreads = %ld", niothreads);
|
VIR_DEBUG("niothreads = %ld", niothreads);
|
||||||
*iothreads = g_steal_pointer(iothreadinfolist);
|
*iothreads = g_steal_pointer(&iothreadinfolist);
|
||||||
return niothreads;
|
return niothreads;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
Reference in New Issue
Block a user