diff options
Diffstat (limited to 'opentrack-api/context.cpp')
-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" |