]> git.cworth.org Git - vogl/blobdiff - src/vogleditor/vogleditor_frameitem.h
UI: Fix unnecessary memory overhead when loading traces.
[vogl] / src / vogleditor / vogleditor_frameitem.h
index f0604b53630ae16d0bf63485acc1a3f372e538fa..c35b400f85d25f7ad41e68bd8964557d39979975 100644 (file)
@@ -47,7 +47,7 @@ public:
    {
       for (int i = 0; i < m_apiCallList.size(); i++)
       {
-         delete m_apiCallList[i];
+         vogl_delete(m_apiCallList[i]);
          m_apiCallList[i] = NULL;
       }
       m_apiCallList.clear();