mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Use g_autofree instead of VIR_AUTOFREE
Since commit 44e7f02915
util: rewrite auto cleanup macros to use glib's equivalent
VIR_AUTOFREE is just an alias for g_autofree. Use the GLib macros
directly instead of our custom aliases.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
@@ -965,7 +965,7 @@ testQemuInfoSetArgs(struct testQemuInfo *info,
|
||||
int gic = GIC_NONE;
|
||||
char *capsarch = NULL;
|
||||
char *capsver = NULL;
|
||||
VIR_AUTOFREE(char *) capsfile = NULL;
|
||||
g_autofree char *capsfile = NULL;
|
||||
int flag;
|
||||
int ret = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user