On Thu, Mar 5, 2015 at 6:05 AM,  <[email protected]> wrote:
> From: Gonglei <[email protected]>
>
> 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.
>
> Cc: Michael Tokarev <[email protected]>
> Cc: Edgar E. Iglesias <[email protected]>
> Signed-off-by: Gonglei <[email protected]>
> ---
> v2: fix a complier error.
> ---
>  hw/microblaze/boot.c | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

Reviewed-by: Max Filippov <[email protected]>

-- 
Thanks.
-- Max

Reply via email to