diff options
author | Ján Tomko <jtomko@redhat.com> | 2022-02-02 17:22:50 +0100 |
---|---|---|
committer | Ján Tomko <jtomko@redhat.com> | 2022-02-03 14:15:04 +0100 |
commit | 7b1c1642b1bc54971edf7a57cf9ecf2ac4e46e4a (patch) | |
tree | b22e92505595f60eac3b744b49e058cad3202260 /src/ch | |
parent | 459f8009c29a40b48f1a28846003d1c5d7e04539 (diff) | |
download | libvirt-7b1c1642b1bc54971edf7a57cf9ecf2ac4e46e4a.tar.gz |
ch: virCHMonitorGetIOThreads: fix g_steal_pointer usage
Fixes: 81226d88034fd460855ac75dd2c985ca91ff6219
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Diffstat (limited to 'src/ch')
-rw-r--r-- | src/ch/ch_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |