diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-07 18:55:13 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-06-07 20:01:45 +0300 |
commit | 5852c66125b706a7ab9e5e179dfa51d3bf94bbd2 (patch) | |
tree | 6e4f456030cf91a9acd8b2f63832cd2fbf794259 /source/blender/alembic/intern/abc_hair.cc | |
parent | 20d3ce57d0730999373fcbb0b22696dbfdfa7326 (diff) |
Alembic hair writer: avoid double-free
Diffstat (limited to 'source/blender/alembic/intern/abc_hair.cc')
-rw-r--r-- | source/blender/alembic/intern/abc_hair.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/alembic/intern/abc_hair.cc b/source/blender/alembic/intern/abc_hair.cc index b11a790a8bb..b5adc4486a7 100644 --- a/source/blender/alembic/intern/abc_hair.cc +++ b/source/blender/alembic/intern/abc_hair.cc @@ -97,8 +97,6 @@ void AbcHairWriter::do_write() } } - BKE_id_free(NULL, mesh); - Alembic::Abc::P3fArraySample iPos(verts); m_sample = OCurvesSchema::Sample(iPos, hvertices); m_sample.setBasis(Alembic::AbcGeom::kNoBasis); |