qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/4] libqos: Change free function called in malloc


From: John Snow
Subject: [Qemu-devel] [PATCH 2/4] libqos: Change free function called in malloc
Date: Wed, 30 Jul 2014 18:28:27 -0400

From: Marc MarĂ­ <address@hidden>

Signed-off-by: Marc MarĂ­ <address@hidden>
Signed-off-by: John Snow <address@hidden>
---
 tests/libqos/malloc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/libqos/malloc.h b/tests/libqos/malloc.h
index 46f6000..5565381 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
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]