ソースを参照

Fix another mem-leak

Kim Kulling 3 年 前
コミット
dddfb74902
1 ファイル変更2 行追加2 行削除
  1. 2 2
      code/AssetLib/Obj/ObjFileData.h

+ 2 - 2
code/AssetLib/Obj/ObjFileData.h

@@ -254,10 +254,10 @@ struct Mesh {
 
     /// Destructor
     ~Mesh() {
-        /* for (std::vector<Face *>::iterator it = m_Faces.begin();
+        for (std::vector<Face *>::iterator it = m_Faces.begin();
                 it != m_Faces.end(); ++it) {
             delete *it;
-        }*/
+        }
     }
 };