The `StepObject` stores customdata but relies on C++ object destruction. CustomData is a C struct and doesn't get freed automatically, the StepObject needs a destructor that takes care of the owned custom data. Pull Request: https://projects.blender.org/blender/blender/pulls/119125