mbox series

[PATCH-for-5.1,0/4] misc: Document qemu_find_file and fix memory leak in avr_load_firmware

Message ID 20200714164257.23330-1-f4bug@amsat.org
Headers show
Series misc: Document qemu_find_file and fix memory leak in avr_load_firmware | expand

Message

Philippe Mathieu-Daudé July 14, 2020, 4:42 p.m. UTC
Fix the memory leak reported by Coverity (CID 1430449).

Philippe Mathieu-Daudé (4):
  qemu/osdep: Document os_find_datadir() return value
  qemu/osdep: Reword qemu_get_exec_dir() documentation
  qemu-common: Document qemu_find_file()
  hw/avr/boot: Fix memory leak in avr_load_firmware()

 include/qemu-common.h | 14 ++++++++++++++
 include/qemu/osdep.h  |  5 ++++-
 hw/avr/boot.c         |  2 +-
 os-posix.c            |  3 +++
 os-win32.c            |  7 ++++++-
 5 files changed, 28 insertions(+), 3 deletions(-)