From 65f9d88562b426bd37bd8d45d500d3741adeceb7 Mon Sep 17 00:00:00 2001 From: Carsten Larsen Date: Sun, 8 Jan 2017 13:13:39 +0100 Subject: [PATCH] Use correct deallocator --- app/main/lexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/lexer.cpp b/app/main/lexer.cpp index 5f524fe1..aa10fa7e 100644 --- a/app/main/lexer.cpp +++ b/app/main/lexer.cpp @@ -45,7 +45,7 @@ Lexer::~Lexer() delete [] input; if (first != NOMEM) { - delete [] first; + delete first; } }