libvirt/src/security
Ján Tomko 7b48bb8ca0 Use g_strdup to fill in default values
Replace:
  if (!s && VIR_STRDUP(s, str) < 0)
    goto;
with:
  if (!s)
    s = g_strdup(str);

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-10-21 12:51:55 +02:00
..
apparmor virt-aa-helper: Drop unnecessary AppArmor rule 2019-08-22 10:58:41 +02:00
Makefile.inc.am build: link to glib library 2019-10-14 10:54:42 +01:00
security_apparmor.c Use g_strdup to fill in default values 2019-10-21 12:51:55 +02:00
security_apparmor.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_dac.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
security_dac.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_driver.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
security_driver.h security: Pass @migrated to virSecurityManagerSetAllLabel 2019-10-14 17:14:13 +02:00
security_manager.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
security_manager.h security: Introduce virSecurityManagerGetDriver() 2019-10-14 17:20:30 +02:00
security_nop.c Use g_strdup instead of ignoring VIR_STRDUP's value 2019-10-21 12:51:55 +02:00
security_nop.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_selinux.c Use g_strdup to fill in default values 2019-10-21 12:51:55 +02:00
security_selinux.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_stack.c security: use G_GNUC_UNUSED 2019-10-15 11:25:24 +02:00
security_stack.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_util.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
security_util.h security_util: Introduce virSecurityMoveRememberedLabel 2019-07-03 08:36:04 +02:00
virt-aa-helper.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00