]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hppa: fix leak from g_strdup_printf
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Oct 2019 13:36:24 +0000 (15:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Oct 2019 16:49:17 +0000 (18:49 +0200)
commit266a880e31d58539a1c7f0177690a047f5016505
tree3d14a74ab6a857f507aad83184094a9771cfa85e
parent67c1ea9940afd73ebc66987672617b6694ba1e4a
hppa: fix leak from g_strdup_printf

memory_region_init_* takes care of copying the name into memory it owns.
Free it in the caller.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/hppa/dino.c
hw/hppa/machine.c