summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-06-03 15:53:40 +0000
committerAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-06-03 15:53:40 +0000
commit880728f3eba657da00eda8b08a7b83f4954a4a0e (patch)
tree728cad8a4815c4ad2f48002f27cf9fae54a1f50d /lldb/source
parent145abd1416b3e53187bbecf2beccfa3954102ece (diff)
downloadbcm5719-llvm-880728f3eba657da00eda8b08a7b83f4954a4a0e.tar.gz
bcm5719-llvm-880728f3eba657da00eda8b08a7b83f4954a4a0e.zip
Matched a vector new with vector delete.
Thanks to Daniel and valgrind. llvm-svn: 183110
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp b/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp
index 2266d7ce3df..2ee3d513b82 100644
--- a/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp
+++ b/lldb/source/Plugins/Process/POSIX/RegisterContextLinux_x86_64.cpp
@@ -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;
}
OpenPOWER on IntegriCloud