Matched a vector new with vector delete.

Thanks to Daniel and valgrind.

llvm-svn: 183110
This commit is contained in:
Ashok Thirumurthi 2013-06-03 15:53:40 +00:00
parent 145abd1416
commit 880728f3eb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}