Browse Source

Leaking even more memory but can now switch levels

Thomas Buck 10 years ago
parent
commit
22c3513f33
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/SkeletalModel.cpp

+ 2
- 1
src/SkeletalModel.cpp View File

@@ -62,7 +62,8 @@ SkeletalModel::~SkeletalModel()
62 62
 
63 63
         model->animation.clear();
64 64
 
65
-        delete model;
65
+        //! \fixme Causes "freeing already freed pointer" exception
66
+        //delete model;
66 67
     }
67 68
 }
68 69
 

Loading…
Cancel
Save