aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/helper.h
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2015-03-05 11:05:20 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:06:18 +0300
commit4d850406a859d3a5dcfca74eb9caa76ccc064ab3 (patch)
tree10a9347b4e321eecb6c1520a8457bc570b0c8f74 /target-moxie/helper.h
parentfee068e4f190a36ef3bda9aa7c802f90434ef8e5 (diff)
microblaze: fix memory leak
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. Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-moxie/helper.h')
0 files changed, 0 insertions, 0 deletions