forked from OSchip/llvm-project
[sanitizer] Plug a memory leak in symbolization code.
llvm-svn: 235411
This commit is contained in:
parent
f1edf3e88f
commit
f8d5251dad
|
@ -67,6 +67,7 @@ static void ParseSymbolizePCOutput(const char *str, SymbolizedStack *res) {
|
||||||
CHECK(function_name);
|
CHECK(function_name);
|
||||||
if (function_name[0] == '\0') {
|
if (function_name[0] == '\0') {
|
||||||
// There are no more frames.
|
// There are no more frames.
|
||||||
|
InternalFree(function_name);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
SymbolizedStack *cur;
|
SymbolizedStack *cur;
|
||||||
|
|
Loading…
Reference in New Issue