]> git.cworth.org Git - vogl/blobdiff - src/vogleditor/vogleditor_frameitem.h
UI: Fix a bunch of memory leaks; rename a few member variables
[vogl] / src / vogleditor / vogleditor_frameitem.h
index c35b400f85d25f7ad41e68bd8964557d39979975..bd26806aabce9ca999ad9152b3c3ed2c6af542cf 100644 (file)
@@ -45,11 +45,6 @@ public:
 
    ~vogleditor_frameItem()
    {
-      for (int i = 0; i < m_apiCallList.size(); i++)
-      {
-         vogl_delete(m_apiCallList[i]);
-         m_apiCallList[i] = NULL;
-      }
       m_apiCallList.clear();
    }