libvirt/src/libxl
Michal Privoznik 2c0898ff4e src: Use g_steal_pointer() more
There are few places where the g_steal_pointer() is open coded.
Switch them to calling the g_steal_pointer() function instead.
Generated by the following spatch:

  @ rule1 @
  expression a, b;
  @@
    <...
  - b = a;
    ... when != b
  - a = NULL;
  + b = g_steal_pointer(&a);
    ...>

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2022-02-01 19:01:49 +01:00
..
libvirtd_libxl.aug
libxl_api_wrapper.h libxl: add API wrapper for libxl_set_memory_target 2021-04-01 14:01:06 -06:00
libxl_capabilities.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
libxl_capabilities.h Xen: Remove unneeded LIBXL_HAVE_* ifdefs 2021-06-21 10:43:04 -06:00
libxl_conf.c libxl: assume LIBXL_HAVE_DEVICE_BACKEND_DOMNAME 2022-01-31 20:38:53 +01:00
libxl_conf.h libxl: assume LIBXL_HAVE_PVUSB 2022-01-31 20:38:53 +01:00
libxl_domain.c libxl: Add lock process indicator to saved VM state 2022-01-25 08:50:19 -07:00
libxl_domain.h libxl: Disable death events after receiving a shutdown event 2021-12-02 11:21:10 -07:00
libxl_driver.c libxl: Implement domainGetMessages API 2021-12-14 08:55:36 -07:00
libxl_driver.h
libxl_logger.c libxl: libxlLoggerFileFree: remove redundant NULL assignment 2021-12-03 16:23:49 +01:00
libxl_logger.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_migration.c do not report generic OPERATION_FAILED error when calling virConnectOpenAuth() 2022-01-07 16:58:25 +01:00
libxl_migration.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl.conf
meson.build remove sysconfig files 2022-01-17 18:20:59 +01:00
test_libvirtd_libxl.aug.in
virtxend.init.in
virtxend.service.in systemd: Use correct man page name in modular daemon service files 2022-02-01 13:20:11 +01:00
xen_common.c src: Use g_steal_pointer() more 2022-02-01 19:01:49 +01:00
xen_common.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xl.c conf: Convert virDomainDefParseBootXML() to virXMLProp*() 2022-01-21 16:42:14 +01:00
xen_xl.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xm.c conf: Convert virDomainDefParseBootXML() to virXMLProp*() 2022-01-21 16:42:14 +01:00
xen_xm.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xenxs_private.h