From bfaf8f34411946aee0c1cac8552512ce509caf44 Mon Sep 17 00:00:00 2001 From: Chris Eagle Date: Tue, 20 Dec 2016 12:27:15 -0800 Subject: [PATCH] add g_free to make future integration easier --- qemu/include/glib_compat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/include/glib_compat.h b/qemu/include/glib_compat.h index 1211dc87..0dc0a2b3 100644 --- a/qemu/include/glib_compat.h +++ b/qemu/include/glib_compat.h @@ -106,6 +106,7 @@ GHashTable *g_hash_table_ref(GHashTable *hash_table); guint g_hash_table_size(GHashTable *hash_table); /* replacement for g_malloc dependency */ +#define g_free(x) free(x) void *g_malloc(size_t size); void *g_malloc0(size_t size); void *g_try_malloc0(size_t size);