diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-30 23:22:13 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-30 23:22:13 +0100 |
commit | e7f264c09a2d1f4f1f6c6a3144fd5993e72a408d (patch) | |
tree | 5651d03e6bcf07e8040d6b0a458d7e0a94ebca22 | |
parent | 657cf32cb57257556c26f702e9e09b0edb15f350 (diff) |
mismatched delete/delete[]
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r-- | opentrack-api/context.cpp | 4 |
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" |