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:
Ján Tomko
2019-10-15 15:16:31 +02:00
parent 2b2c67b401
commit 1e2ae2e311
144 changed files with 1473 additions and 1473 deletions

View File

@@ -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;