]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_selinux.c: use g_auto* in set/restore hostdev subsys functions
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 4 Jan 2021 12:54:31 +0000 (09:54 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 29 Jan 2021 20:55:13 +0000 (17:55 -0300)
commite49319534e76918111ea19fbc43beda1845f6a05
tree067f073c0c4ea093f926b5e3218354b7ad445cce
parentb0264e9404e1469fb174ad2839305c291a8a73dd
security_selinux.c: use g_auto* in set/restore hostdev subsys functions

Use g_auto* cleanup to avoid free() calls.

Reviewed-by: Laine Stump <laine@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/security/security_selinux.c