summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-30 23:22:13 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-30 23:22:13 +0100
commite7f264c09a2d1f4f1f6c6a3144fd5993e72a408d (patch)
tree5651d03e6bcf07e8040d6b0a458d7e0a94ebca22
parent657cf32cb57257556c26f702e9e09b0edb15f350 (diff)
mismatched delete/delete[]
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-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"