From ff934d538c00518476c31f5df6ebc4be5ca79591 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 5 Dec 2021 14:40:30 +0100 Subject: Fix various code & correctness issues (#11815) --- src/client/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/game.cpp') diff --git a/src/client/game.cpp b/src/client/game.cpp index fb993d92f..54028fd1d 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1383,7 +1383,7 @@ bool Game::createClient(const GameStartData &start_data) str += L" ["; str += text; str += L"]"; - delete text; + delete[] text; } str += L" ["; str += driver->getName(); -- cgit v1.2.3