[PATCH 0/5] ch: Fixup object leaks and extend g_auto usage

William Douglas posted 5 patches 2 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20211001181237.1755924-1-william.douglas@intel.com
src/ch/ch_monitor.c | 59 +++++++++++++++------------------------------
src/ch/ch_monitor.h |  1 +
2 files changed, 20 insertions(+), 40 deletions(-)
[PATCH 0/5] ch: Fixup object leaks and extend g_auto usage
Posted by William Douglas 2 years, 7 months ago
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