24.02.2016 12:12, Cao jin wrote:
> +if (fw_dir) {
> +g_free(rom->fw_dir);
> +g_free(rom->fw_file);
> +}
Applied to -trivial, thanks!
/mjt
sorry, It just came to me that I forgot to cc qemu-trivial
On 02/24/2016 05:12 PM, Cao jin wrote:
Signed-off-by: Cao jin
---
hw/core/loader.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/hw/core/loader.c b/hw/core/loader.c
index 3a57415..24fea65 100644
--- a/hw/core/loader.c
+++
Signed-off-by: Cao jin
---
hw/core/loader.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/hw/core/loader.c b/hw/core/loader.c
index 3a57415..24fea65 100644
--- a/hw/core/loader.c
+++ b/hw/core/loader.c
@@ -827,10 +827,16 @@ int rom_add_file(const char *file, const char *fw_dir,
err: