Fix #108745: Crash in debug build when deleting object
`totitem_added` should be used instead to add `RNA_enum_item_end` Pull Request: https://projects.blender.org/blender/blender/pulls/108762
This commit is contained in:
@@ -2066,7 +2066,7 @@ static const EnumPropertyItem *rna_SpaceProperties_context_itemf(bContext *UNUSE
|
||||
}
|
||||
}
|
||||
|
||||
RNA_enum_item_end(&item, &totitem);
|
||||
RNA_enum_item_end(&item, &totitem_added);
|
||||
*r_free = true;
|
||||
|
||||
return item;
|
||||
|
||||
Reference in New Issue
Block a user