Message ID | 20190128194351.14679-2-ehabkost@redhat.com |
---|---|
State | New |
Headers | show |
Series | [PULL,1/2] numa: Fixed the memory leak of numa error message | expand |
diff --git a/numa.c b/numa.c index 50ec016013..3875e1efda 100644 --- a/numa.c +++ b/numa.c @@ -533,6 +533,7 @@ void memory_region_allocate_system_memory(MemoryRegion *mr, Object *owner, error_report("memory backend %s is used multiple times. Each " "-numa option must use a different memdev value.", path); + g_free(path); exit(1); }