8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()

Reviewed-by: dholmes, stuefe
This commit is contained in:
Jungwoo Ha 2015-05-19 01:34:53 -04:00 committed by David Holmes
parent 5cf176b870
commit c0fcbe951e

View File

@ -649,6 +649,7 @@ void VM_PopulateDumpSharedSpace::doit() {
mapinfo->close();
memmove(vtbl_list, saved_vtbl, vtbl_list_size * sizeof(void*));
os::free(saved_vtbl);
if (PrintSharedSpaces) {
DumpAllocClosure dac;