Browse Source

Fix another mem-leak

Kim Kulling 3 years ago
parent
commit
dddfb74902
1 changed files with 2 additions and 2 deletions
  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;
-        }*/
+        }
     }
 };