imageworks/OpenColorIO — pull request #367 by Shootfast (2014-07-24 23:21:47+00:00)
Title: OCIOYaml: Fixed use of freed const char * on RHS of assignments - issue365

Inside OCIOYaml.cpp, there are a few places where the result of std::string::c_str() are stored in a const char *, but the string itself is on the right hand side of the assignment, meaning that it is instantly destructed and the pointer is now looking at freed memory.

This patch fixes these issues.