Fix crash accessing length unit settings
This commit is contained in:
parent
0a34e5b300
commit
38b211b581
|
@ -2502,7 +2502,9 @@ static const EnumPropertyItem *rna_UnitSettings_itemf_wrapper(const int system,
|
|||
}
|
||||
}
|
||||
|
||||
RNA_enum_item_end(&items, &totitem);
|
||||
*r_free = true;
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue