summaryrefslogtreecommitdiff
path: root/relocationhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'relocationhandler.cpp')
-rw-r--r--relocationhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/relocationhandler.cpp b/relocationhandler.cpp
index 045e9fa6..b25b0f65 100644
--- a/relocationhandler.cpp
+++ b/relocationhandler.cpp
@@ -139,6 +139,7 @@ bool CoreRelocationHandler::GetRelocationInfo(
BNRelocationHandlerGetRelocationInfo(m_object, view->GetObject(), arch->GetObject(), results, result.size());
for (size_t i = 0; i < result.size(); i++)
result[i] = results[i];
+ delete[] results;
return status;
}