diff --git a/ext/ghoul b/ext/ghoul index aff42bcc4f..cf0879e60f 160000 --- a/ext/ghoul +++ b/ext/ghoul @@ -1 +1 @@ -Subproject commit aff42bcc4fd3a7cd4c1c712c2d7e9fd0f67ccb3d +Subproject commit cf0879e60fc88ecbc1ae7bf2f0df9e8393b9e708 diff --git a/src/util/powerscaledsphere.cpp b/src/util/powerscaledsphere.cpp index 5d68f8fe1d..e6b938cca7 100644 --- a/src/util/powerscaledsphere.cpp +++ b/src/util/powerscaledsphere.cpp @@ -130,6 +130,8 @@ PowerScaledSphere::~PowerScaledSphere() delete[] _varray; if (_iarray) delete[] _iarray; + + _vbo.deinitialize(); } bool PowerScaledSphere::initialize()