Commit: 26910f68ad9c8a82a7cd0d6876d5d8649545fec4 Author: Jeroen Bakker Date: Tue Apr 5 15:25:41 2022 +0200 Branches: temp-T96709-painting-target https://developer.blender.org/rB26910f68ad9c8a82a7cd0d6876d5d8649545fec4
Fix memory leak. =================================================================== M source/blender/makesrna/intern/rna_sculpt_paint.c =================================================================== diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index fdbfd249ba8..0bdc2f67953 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -586,7 +586,7 @@ static const EnumPropertyItem *rna_PaintModeSettings_canvas_source_itemf(bContex } RNA_enum_item_end(&items, &totitem); - *r_free = false; + *r_free = true; return items; } _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
