diff --git a/src/renderlist/DataBase.cpp b/src/renderlist/DataBase.cpp index 90ea029..b6f7328 100644 --- a/src/renderlist/DataBase.cpp +++ b/src/renderlist/DataBase.cpp @@ -605,10 +605,6 @@ DataBase::bump( ) DataBase::~DataBase() { - for(std::map::iterator it = m_name_map.begin(); it != m_name_map.end(); ++it) { - delete it->second; - } - std::vector shadersToDelete; for(std::map::iterator it = m_shaders.begin(); it != m_shaders.end(); ++it) { shadersToDelete.push_back(it->first);