From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] libkvm: x86: fix memleak if ioctl fails Date: Mon, 13 Jul 2009 11:38:18 +0300 Message-ID: <4A5AF27A.4050908@redhat.com> References: <1247473672-7332-1-git-send-email-amit.shah@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Amit Shah Return-path: Received: from mx2.redhat.com ([66.187.237.31]:33491 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752573AbZGMIfT (ORCPT ); Mon, 13 Jul 2009 04:35:19 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6D8ZJEe022992 for ; Mon, 13 Jul 2009 04:35:19 -0400 In-Reply-To: <1247473672-7332-1-git-send-email-amit.shah@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/13/2009 11:27 AM, Amit Shah wrote: > Fix a memleak for when the KVM_SET_CPUID2 ioctl fails. Free the > memory that we allocate to store cpuids. > > Applied, thanks. Note that this libkvm is practically unused (the test suite uses it but I want to move that to qemu -kernel). -- error compiling committee.c: too many arguments to function