Based off of feedback from Laine to Ján's series of patches increasing
g_auto usage for the ch_driver.

This fixes leaks in virCHMonitorBuildKernelRelatedJson and virCHMonitorNew
while tidying up and increasing the automatic cleanup for those functions and
virCHMonitorBuildMemoryJson.

William Douglas (5):
  ch_monitor: Stop leaking json value objects
  ch_monitor: Correctly close and ref the virCHMonitor
  ch: use g_auto in virCHMonitorBuildMemoryJson
  ch: use g_auto in virCHMonitorBuildKernelRelatedJson
  ch: use g_auto in virCHMonitorNew

 src/ch/ch_monitor.c | 59 +++++++++++++++------------------------------
 src/ch/ch_monitor.h |  1 +
 2 files changed, 20 insertions(+), 40 deletions(-)

-- 
2.33.0

Reply via email to