Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-06-07 18:55:13 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-06-07 20:01:45 +0300
commit5852c66125b706a7ab9e5e179dfa51d3bf94bbd2 (patch)
tree6e4f456030cf91a9acd8b2f63832cd2fbf794259 /source/blender/alembic
parent20d3ce57d0730999373fcbb0b22696dbfdfa7326 (diff)
Alembic hair writer: avoid double-free
Diffstat (limited to 'source/blender/alembic')
-rw-r--r--source/blender/alembic/intern/abc_hair.cc2
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);