The issue was that RNA_path_from_ID_to_property returns a char * that the caller is expected to free. But the code was storing it in a std::string
The issue was that RNA_path_from_ID_to_property returns a char * that the caller is expected to free. But the code was storing it in a std::string