From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHAW0-0005Jx-Or for qemu-devel@nongnu.org; Tue, 12 Aug 2014 07:45:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHAVr-0001BU-4w for qemu-devel@nongnu.org; Tue, 12 Aug 2014 07:45:20 -0400 Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:46297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHAVq-0001BJ-UN for qemu-devel@nongnu.org; Tue, 12 Aug 2014 07:45:11 -0400 Received: by mail-we0-f181.google.com with SMTP id k48so9664769wev.26 for ; Tue, 12 Aug 2014 04:45:10 -0700 (PDT) From: =?UTF-8?q?Marc=20Mar=C3=AD?= Date: Tue, 12 Aug 2014 13:41:50 +0200 Message-Id: <1407843716-18301-6-git-send-email-marc.mari.barcelo@gmail.com> In-Reply-To: <1407843716-18301-1-git-send-email-marc.mari.barcelo@gmail.com> References: <1407843716-18301-1-git-send-email-marc.mari.barcelo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v4 05/11] libqos: Change free function called in malloc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc=20Mar=C3=AD?= , Paolo Bonzini , Stefan Hajnoczi Reviewed-by: John Snow Reviewed-by: Stefan Hajnoczi Signed-off-by: Marc MarĂ­ --- 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.7.10.4