The custom data layers (the format) wasn't freed if there were no geometry elements. But it's fine to call the custom data free functions with a size of 0.
The custom data layers (the format) wasn't freed if there were no geometry elements. But it's fine to call the custom data free functions with a size of 0.