Skip to content
Commit 5c17f9cb authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Remove unnecessary StringRef->char*->StringRef conversion, which read...

Remove unnecessary StringRef->char*->StringRef conversion, which read uninitialized memory if the input wasn't 0-terminated.

Found by valgrind.

llvm-svn: 155323
parent 2d474d6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment