diff options
-rw-r--r-- | target/ppc/kvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/ppc/kvm.c b/target/ppc/kvm.c index 8881762076..f2f7c531bc 100644 --- a/target/ppc/kvm.c +++ b/target/ppc/kvm.c @@ -486,6 +486,7 @@ bool kvmppc_is_mem_backend_page_size_ok(const char *obj_path) if (mempath) { pagesize = qemu_mempath_getpagesize(mempath); + g_free(mempath); } else { pagesize = getpagesize(); } |