diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-20 22:09:37 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-20 23:01:08 -0500 |
commit | 7267c0947d7e8ae5dff7bafd932c3bc285f43e5c (patch) | |
tree | 9aa05d6e05ed83e67bf014f6745a3081b8407dc5 /check-qlist.c | |
parent | 14015304b662e8f8ccce46c5a6927af6a14c510b (diff) |
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'check-qlist.c')
-rw-r--r-- | check-qlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/check-qlist.c b/check-qlist.c index 58984cbfcc..ee2454a27f 100644 --- a/check-qlist.c +++ b/check-qlist.c @@ -30,7 +30,7 @@ START_TEST(qlist_new_test) fail_unless(qobject_type(QOBJECT(qlist)) == QTYPE_QLIST); // destroy doesn't exist yet - qemu_free(qlist); + g_free(qlist); } END_TEST @@ -51,8 +51,8 @@ START_TEST(qlist_append_test) // destroy doesn't exist yet QDECREF(qi); - qemu_free(entry); - qemu_free(qlist); + g_free(entry); + g_free(qlist); } END_TEST @@ -65,7 +65,7 @@ START_TEST(qobject_to_qlist_test) fail_unless(qobject_to_qlist(QOBJECT(qlist)) == qlist); // destroy doesn't exist yet - qemu_free(qlist); + g_free(qlist); } END_TEST |