libvirt/src/remote
Michal Privoznik 87a43a907f lib: Use g_clear_pointer() more
This change was generated using the following spatch:

  @ rule1 @
  expression a;
  identifier f;
  @@
    <...
  - f(*a);
    ... when != a;
  - *a = NULL;
  + g_clear_pointer(a, f);
    ...>

  @ rule2 @
  expression a;
  identifier f;
  @@
    <...
  - f(a);
    ... when != a;
  - a = NULL;
  + g_clear_pointer(&a, f);
    ...>

Then, I left some of the changes out, like tools/nss/ (which
doesn't link with glib) and put back a comment in
qemuBlockJobProcessEventCompletedActiveCommit() which coccinelle
decided to remove (I have no idea why).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-02-08 08:42:07 +01:00
..
libvirtd-admin.socket.in
libvirtd-ro.socket.in
libvirtd-tcp.socket.in
libvirtd-tls.socket.in
libvirtd.aug.in daemon: add tcp_min_ssf option 2021-11-04 17:02:56 +01:00
libvirtd.conf.in Add suggestions for virt-pki-query-dn usage 2021-11-12 12:37:29 +01:00
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 docs: stop mentioning insecure / broken SASL mechanisms 2021-03-17 09:31:57 +00:00
libvirtd.service.in remove sysconfig files 2022-01-17 18:20:59 +01:00
libvirtd.socket.in remote: systemd: Remove unix sockets from filesystem when disabling a '.socket' unit 2022-01-19 16:54:33 +01:00
libvirtd.sysctl
lxc_protocol.x
meson.build meson: Add missing virt_install_dirs 2022-02-02 16:26:36 +01:00
qemu_protocol.x
remote_daemon_config.c remote_daemon: Validate tcp_min_ssf value only if found in config 2021-11-05 14:46:48 +01:00
remote_daemon_config.h daemon: add tcp_min_ssf option 2021-11-04 17:02:56 +01:00
remote_daemon_dispatch.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
remote_daemon_dispatch.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
remote_daemon_stream.c virStreamInData: Allow callback to not rewind the stream 2021-12-13 14:49:02 +01:00
remote_daemon_stream.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
remote_daemon.c Print errors on daemon startup if logging setup fails 2022-01-13 15:43:13 +01:00
remote_daemon.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
remote_driver.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
remote_driver.h remote: warn on low SSF 2021-11-04 17:02:56 +01:00
remote_protocol.x remote: Add RPC support for the virDomainSetLaunchSecurityState API 2022-01-04 10:56:00 -07:00
remote_sockets.c remote: Avoid crash in remoteSplitURIScheme() 2021-12-10 14:15:23 +01:00
remote_sockets.h remote: extract logic for probing for modular daemons 2021-06-18 16:19:42 +01:00
remote_ssh_helper.c lib: Use g_clear_pointer() more 2022-02-08 08:42:07 +01:00
test_libvirtd.aug.in daemon: add tcp_min_ssf option 2021-11-04 17:02:56 +01:00
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 systemd: Use correct man page name in modular daemon service files 2022-02-01 13:20:11 +01:00