Re: [Qemu-devel] [PATCH v2 09/18] hw/nvram/fw_cfg: Free file_slots in common_unrealize()

2019-03-08 Thread Laszlo Ersek
On 03/08/19 02:32, Philippe Mathieu-Daudé wrote: > Called by fw_cfg_common_realize(), fw_cfg_file_slots_allocate() > allocates various buffers. > Free them in fw_cfg_common_unrealize(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/nvram/fw_cfg.c | 4 > 1 file changed, 4 insertions(+

[Qemu-devel] [PATCH v2 09/18] hw/nvram/fw_cfg: Free file_slots in common_unrealize()

2019-03-07 Thread Philippe Mathieu-Daudé
Called by fw_cfg_common_realize(), fw_cfg_file_slots_allocate() allocates various buffers. Free them in fw_cfg_common_unrealize(). Signed-off-by: Philippe Mathieu-Daudé --- hw/nvram/fw_cfg.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c index ca58d