summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc MarĂ­ <marc.mari.barcelo@gmail.com>2014-08-12 13:41:50 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-08-15 18:03:14 +0100
commit220c1a2fadee125909e88d61637be307fea02d88 (patch)
treef52904dd83a2de87a60499a30df3c72dec39e866
parentf75ffc585717a26169d180a905aa1f4299aa57e7 (diff)
downloadqemu-220c1a2fadee125909e88d61637be307fea02d88.tar.gz
libqos: Change free function called in malloc
Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Marc MarĂ­ <marc.mari.barcelo@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r--tests/libqos/malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libqos/malloc.h b/tests/libqos/malloc.h
index 46f6000763..556538121e 100644
--- a/tests/libqos/malloc.h
+++ b/tests/libqos/malloc.h
@@ -32,7 +32,7 @@ static inline uint64_t guest_alloc(QGuestAllocator *allocator, size_t size)
static inline void guest_free(QGuestAllocator *allocator, uint64_t addr)
{
- allocator->alloc(allocator, addr);
+ allocator->free(allocator, addr);
}
#endif