Fix memory leak

This commit is contained in:
Benau 2021-07-19 12:24:47 +08:00
parent a92e021625
commit ced813a483

View File

@ -84,6 +84,7 @@ void load()
g_official_karts.emplace_back(name, type, width, height, length, g_official_karts.emplace_back(name, type, width, height, length,
gravity_shift); gravity_shift);
} }
delete root;
} // load } // load
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------