Fix #108171: bpy.ops.uv.pack_islands crash

Originally caused by edc12436c6, the fix c4f39eab88 also had a mistake
unfortunately (double free of `UVPackIslandsData` since it already
called `pack_islands_freejob`).

Pull Request: https://projects.blender.org/blender/blender/pulls/109377
This commit is contained in:
Philipp Oeser
2023-06-27 08:55:01 +02:00
committed by Philipp Oeser
parent 8ff65fe63f
commit c47074f3bb

View File

@@ -1555,7 +1555,6 @@ static int pack_islands_exec(bContext *C, wmOperator *op)
pack_islands_endjob(pid);
pack_islands_freejob(pid);
MEM_freeN(pid);
return OPERATOR_FINISHED;
}