[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH v2] microblaze: fix memory leak
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-trivial] [PATCH v2] microblaze: fix memory leak |
Date: |
Wed, 29 Apr 2015 20:17:54 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
05.03.2015 06:05, address@hidden wrote:
> From: Gonglei <address@hidden>
>
> When not assign a -dtb argument, the variable dtb_filename
> storage returned from qemu_find_file(), which should be freed
> after use. Alternatively we define a local variable filename,
> with 'char *' type, free after use.
Actually now when I look at it all again I think this is the
solution I was thinking about when saying about a "better fix".
I dunno why I haven't seen this before.
I just applied this patch to -trivial. Thank you very much for
your patience!
/mjt