Fix memory leak
This commit is contained in:
parent
a92e021625
commit
ced813a483
@ -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
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user