Matched a vector new with vector delete.
Thanks to Daniel and valgrind. llvm-svn: 183110
This commit is contained in:
parent
145abd1416
commit
880728f3eb
|
@ -102,7 +102,7 @@ RegisterContextLinux_x86_64::RegisterContextLinux_x86_64(Thread &thread, uint32_
|
|||
RegisterContextLinux_x86_64::~RegisterContextLinux_x86_64()
|
||||
{
|
||||
if (m_register_infos)
|
||||
delete m_register_infos;
|
||||
delete [] m_register_infos;
|
||||
m_register_infos = nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue