From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDEvk-0007Jx-J3 for qemu-devel@nongnu.org; Fri, 01 Aug 2014 11:39:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDEve-0000Ig-FW for qemu-devel@nongnu.org; Fri, 01 Aug 2014 11:39:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDEve-0000IO-8B for qemu-devel@nongnu.org; Fri, 01 Aug 2014 11:39:34 -0400 From: John Snow Date: Fri, 1 Aug 2014 11:38:57 -0400 Message-Id: <1406907539-18757-3-git-send-email-jsnow@redhat.com> In-Reply-To: <1406907539-18757-1-git-send-email-jsnow@redhat.com> References: <1406907539-18757-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v3 2/4] 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: marc.mari.barcelo@gmail.com, pbonzini@redhat.com, jsnow@redhat.com, afaerber@suse.de, stefanha@redhat.com From: Marc Mar=C3=AD Signed-off-by: Marc Mar=C3=AD Signed-off-by: John Snow --- 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