]> git.proxmox.com Git - mirror_qemu.git/commitdiff
libqos: Change free function called in malloc
authorMarc Marí <marc.mari.barcelo@gmail.com>
Tue, 12 Aug 2014 11:41:50 +0000 (13:41 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:14 +0000 (18:03 +0100)
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>
tests/libqos/malloc.h

index 46f6000763af41cc1cecc28b7fba14b5a750c9cc..556538121e0eaa30c7717b31535629846781f8d2 100644 (file)
@@ -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