[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] pci: Fix memory leak
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] pci: Fix memory leak |
Date: |
Sun, 20 Feb 2011 18:24:12 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sat, Jan 22, 2011 at 01:02:44PM +0100, Stefan Weil wrote:
> Signed-off-by: Stefan Weil <address@hidden>
> ---
> hw/pci.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks all three patches applied.
> diff --git a/hw/pci.c b/hw/pci.c
> index 63f476a..38a60ae 100644
> --- a/hw/pci.c
> +++ b/hw/pci.c
> @@ -1877,6 +1877,7 @@ static int pci_add_option_rom(PCIDevice *pdev, bool
> is_default_rom)
> if (size < 0) {
> error_report("%s: failed to find romfile \"%s\"",
> __FUNCTION__, pdev->romfile);
> + qemu_free(path);
> return -1;
> }
> if (size & (size - 1)) {
> --
> 1.7.2.3
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 1/3] pci: Fix memory leak,
Aurelien Jarno <=