diff --git a/src/nostalgia/core/userland/glutils.hpp b/src/nostalgia/core/userland/glutils.hpp index 3b2d19232..aca6d2244 100644 --- a/src/nostalgia/core/userland/glutils.hpp +++ b/src/nostalgia/core/userland/glutils.hpp @@ -50,6 +50,7 @@ struct GLobject: public Base { } GLobject &operator=(GLobject &&o) { + this->~GLobject(); id = o.id; o.id = 0; return *this;