Received: from eggs.gnu.org ([2001:4830:134:3::10]:50559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIKze-0007ko-F3 for qemu-devel@nongnu.org; Fri, 15 Aug 2014 13:08:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIKzY-0000VR-5O for qemu-devel@nongnu.org; Fri, 15 Aug 2014 13:08:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIKzX-0000VM-Su for qemu-devel@nongnu.org; Fri, 15 Aug 2014 13:08:40 -0400 From: Stefan Hajnoczi Date: Fri, 15 Aug 2014 18:06:50 +0100 Message-Id: <1408122422-13935-44-git-send-email-stefanha@redhat.com> In-Reply-To: <1408122422-13935-1-git-send-email-stefanha@redhat.com> References: <1408122422-13935-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 43/55] 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?= , Peter Maydell , Stefan Hajnoczi From: Marc Mar=C3=AD Reviewed-by: John Snow Reviewed-by: Stefan Hajnoczi Signed-off-by: Marc Mar=C3=AD Signed-off-by: Stefan Hajnoczi --- 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 *all= ocator, size_t size) =20 static inline void guest_free(QGuestAllocator *allocator, uint64_t addr) { - allocator->alloc(allocator, addr); + allocator->free(allocator, addr); } =20 #endif --=20 1.9.3