From 682bb107080ee97f75b81dae564542518e819e6e Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Mon, 26 Jun 2023 15:48:55 +0200 Subject: [PATCH] Fix #108171: bpy.ops.uv.pack_islands crash Originally caused by edc12436c6, the fix c4f39eab8880 also had a mistake unfortunately (double free of `UVPackIslandsData` since it already called `pack_islands_freejob`). --- source/blender/editors/uvedit/uvedit_unwrap_ops.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.cc b/source/blender/editors/uvedit/uvedit_unwrap_ops.cc index 20b69d6a31e..69da2fe7072 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.cc +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.cc @@ -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; } -- 2.30.2