forked from OSchip/llvm-project
Clear scariness score when initializing ErrorDoubleFree
llvm-svn: 280363
This commit is contained in:
parent
6e903def8b
commit
f1fb439d31
|
@ -54,6 +54,7 @@ struct ErrorDoubleFree : ErrorBase {
|
|||
ErrorDoubleFree() = default;
|
||||
ErrorDoubleFree(uptr addr, u32 tid_, BufferedStackTrace *stack)
|
||||
: tid(tid_), second_free_stack(stack) {
|
||||
scariness.Clear();
|
||||
CHECK_GT(second_free_stack->size, 0);
|
||||
GetHeapAddressInformation(addr, 1, &addr_description);
|
||||
scariness.Clear();
|
||||
|
|
Loading…
Reference in New Issue