diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/rigidbody/rb_bullet_api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/rigidbody/rb_bullet_api.cpp b/intern/rigidbody/rb_bullet_api.cpp index ab7b851911a..6d39e328e82 100644 --- a/intern/rigidbody/rb_bullet_api.cpp +++ b/intern/rigidbody/rb_bullet_api.cpp @@ -726,8 +726,8 @@ rbMeshData *RB_trimesh_data_new(int num_tris, int num_verts) static void RB_trimesh_data_delete(rbMeshData *mesh) { delete mesh->index_array; - delete mesh->vertices; - delete mesh->triangles; + delete[] mesh->vertices; + delete[] mesh->triangles; delete mesh; } |