mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
SBError::GetCString() returns a pointer to a string owned by the SBError object. The code here was calling GetCString on a temporary and using the returned pointer after the temporary was destroyed. Differential Revision: https://reviews.llvm.org/D59400 llvm-svn: 356227