libvirt/src/remote
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
..
libvirtd-admin.socket.in
libvirtd-ro.socket.in
libvirtd-tcp.socket.in
libvirtd-tls.socket.in
libvirtd.aug.in
libvirtd.conf.in
libvirtd.confd
libvirtd.init.in
libvirtd.libxl.logrotate.in
libvirtd.logrotate.in
libvirtd.lxc.logrotate.in
libvirtd.policy
libvirtd.qemu.logrotate.in
libvirtd.rules
libvirtd.sasl
libvirtd.service.in
libvirtd.socket.in
libvirtd.sysconf
libvirtd.sysctl
lxc_protocol.x
meson.build build: Fix generation of virtproxyd socket files 2021-02-09 11:39:40 -07:00
qemu_protocol.x
remote_daemon_config.c remote: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:44 -05:00
remote_daemon_config.h
remote_daemon_dispatch.c remote: add RPC support for the virDomainGetMessages API 2021-02-12 09:19:13 +00:00
remote_daemon_dispatch.h
remote_daemon_stream.c remote: convert VIR_FREE to g_free in other functions that free their arg 2021-02-12 12:10:38 -05:00
remote_daemon_stream.h
remote_daemon.c virnetdaemon: Wait for "daemon-stop" thread to finish before quitting 2020-11-24 17:52:54 +01:00
remote_daemon.h
remote_driver.c Use g_steal_pointer where possible 2021-03-01 15:54:42 +01:00
remote_driver.h
remote_protocol.x remote: add RPC support for the virDomainGetMessages API 2021-02-12 09:19:13 +00:00
remote_sockets.c remote: slightly improve debugging of socket selection 2020-09-18 11:33:40 +01:00
remote_sockets.h
remote_ssh_helper.c remote: make ssh-helper massively faster 2020-11-26 10:14:18 +00:00
test_libvirtd.aug.in
virt-guest-shutdown.target Revert "remote: Add libvirtd dependency to virt-guest-shutdown.target" 2021-01-29 10:39:33 -07:00
virtproxyd.confd
virtproxyd.init.in
virtproxyd.service.in
virtproxyd.sysconf