summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-api/context.cpp')
-rw-r--r--opentrack-api/context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack-api/context.cpp b/opentrack-api/context.cpp
index e0fd5357..84089c43 100644
--- a/opentrack-api/context.cpp
+++ b/opentrack-api/context.cpp
@@ -83,9 +83,9 @@ opentrack_ctx::~opentrack_ctx()
{
for (int i = 0; list[i]; i++)
{
- delete list[i];
+ delete[] list[i];
}
- delete list;
+ delete[] list;
}
extern "C"