libvirt/src/admin
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
..
admin_protocol.x admin: Introduce virAdmServerUpdateTlsFiles 2020-03-13 17:07:32 +00:00
admin_remote.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
admin_server_dispatch.c admin: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:44 -05:00
admin_server_dispatch.h src/admin: use #pragma once in headers 2019-06-13 17:05:08 +02:00
admin_server.c Use g_steal_pointer where possible 2021-03-01 15:54:42 +01:00
admin_server.h admin: Introduce virAdmServerUpdateTlsFiles 2020-03-13 17:07:32 +00:00
libvirt_admin_private.syms admin: Introduce virAdmServerUpdateTlsFiles 2020-03-13 17:07:32 +00:00
libvirt_admin_public.syms admin: Introduce virAdmServerUpdateTlsFiles 2020-03-13 17:07:32 +00:00
libvirt-admin.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
libvirt-admin.conf build: move admin code into admin directory 2019-10-23 14:30:58 +02:00
meson.build meson: drop use of .path() for python args 2020-11-09 16:32:55 +00:00