--- a/src/ldtypes.cpp Mon May 13 00:04:54 2013 +0300 +++ b/src/ldtypes.cpp Mon May 13 19:53:22 2013 +0300 @@ -212,6 +212,9 @@ for (ulong i = 0; i < g_win->sel ().size(); ++i) if (g_win->sel ()[i] == this) g_win->sel ().erase (g_win->sel ().begin() + i); + + // Delete the GL lists + GL::deleteLists (this); } // =============================================================================