libvirt/src/interface
Kristina Hanicova 155151a3d0 Use g_steal_pointer where possible
Via coccinelle (not the handbag!)
spatches used:
@ rule1 @
identifier a, b;
symbol NULL;
@@

- b = a;
  ... when != a
- a = NULL;
+ b = g_steal_pointer(&a);

@@

- *b = a;
  ... when != a
- a = NULL;
+ *b = g_steal_pointer(&a);

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2021-03-01 15:54:42 +01:00
..
interface_backend_netcf.c Use g_steal_pointer where possible 2021-03-01 15:54:42 +01:00
interface_backend_udev.c Use g_steal_pointer where possible 2021-03-01 15:54:42 +01:00
interface_driver.c
interface_driver.h src/interface: use #pragma once in headers 2019-06-13 17:05:09 +02:00
meson.build build: Remove unused 'conflicts' key from virt_daemon_unit 2021-02-10 09:30:41 -07:00
virtinterfaced.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtinterfaced.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtinterfaced.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00