[libvirt PATCH 1/2] ch: virCHMonitorGetIOThreads: fix g_steal_pointer usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: 81226d88034fd460855ac75dd2c985ca91ff6219
Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 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:
-- 
2.34.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux