Re: [PATCH RESEND 08/20] security_dac.c: modernize hostdev label set/restore functions

2021-01-20 Thread Laine Stump
Again, don't use "modernize". Just "convert to use g_auto*" or something like that. On 1/18/21 2:53 PM, Daniel Henrique Barboza wrote: Use g_auto* cleanup to avoid free() calls. Signed-off-by: Daniel Henrique Barboza --- src/security/security_dac.c | 49

[PATCH RESEND 08/20] security_dac.c: modernize hostdev label set/restore functions

2021-01-18 Thread Daniel Henrique Barboza
Use g_auto* cleanup to avoid free() calls. Signed-off-by: Daniel Henrique Barboza --- src/security/security_dac.c | 49 +++-- 1 file changed, 14 insertions(+), 35 deletions(-) diff --git a/src/security/security_dac.c b/src/security/security_dac.c index