From 6715157fad8960693b5c6749fd5acdb116229079 Mon Sep 17 00:00:00 2001 From: Thomas Fach-Pedersen Date: Sat, 2 May 2015 14:21:15 +0200 Subject: BLADERUNNER: Mismatched array new and delete --- engines/bladerunner/text_resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/bladerunner') diff --git a/engines/bladerunner/text_resource.cpp b/engines/bladerunner/text_resource.cpp index ce9e6f7866..3c074ee3a0 100644 --- a/engines/bladerunner/text_resource.cpp +++ b/engines/bladerunner/text_resource.cpp @@ -42,7 +42,7 @@ TextResource::TextResource(BladeRunnerEngine *vm) TextResource::~TextResource() { delete[] _ids; delete[] _offsets; - delete _strings; + delete[] _strings; } bool TextResource::open(const char *name) { -- cgit v1.2.3