diff --git a/loader/include/Geode/c++stl/gnustl.hpp b/loader/include/Geode/c++stl/gnustl.hpp index b47afad8..668c0333 100644 --- a/loader/include/Geode/c++stl/gnustl.hpp +++ b/loader/include/Geode/c++stl/gnustl.hpp @@ -405,9 +405,7 @@ namespace gd { } ~vector() { - for (auto i = m_start; i != m_finish; ++i) { - delete i; - } + if (m_start) delete m_start; } size_t size() const {