mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
llvm-cov: Clean up memory leaks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -292,7 +292,7 @@ void FileInfo::print(raw_fd_ostream &OS, StringRef gcnoFile,
|
||||
errs() << Filename << ": " << ec.message() << "\n";
|
||||
return;
|
||||
}
|
||||
StringRef AllLines = Buff.take()->getBuffer();
|
||||
StringRef AllLines = Buff->getBuffer();
|
||||
uint32_t i = 0;
|
||||
while (!AllLines.empty()) {
|
||||
if (L.find(i) != L.end()) {
|
||||
|
Reference in New Issue
Block a user