From 7844b636aa245839aaf5a0141a49e5eae97edcf7 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 28 Nov 2016 17:05:09 +0300 Subject: [PATCH] 23336: [CEA 1940] Crash when editing a skin mesh generated by MG-Cleaner fix valgrid error "Mismatched free() / delete / delete []" --- src/Qtx/Qtx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qtx/Qtx.cxx b/src/Qtx/Qtx.cxx index fd7622eec..0bacef045 100755 --- a/src/Qtx/Qtx.cxx +++ b/src/Qtx/Qtx.cxx @@ -2210,7 +2210,7 @@ Qtx::CmdLineArgs::CmdLineArgs() Qtx::CmdLineArgs::~CmdLineArgs() { for ( int i = 0; i < myArgc; i++ ) - delete myArgv[i]; + delete[] myArgv[i]; delete[] myArgv; } -- 2.39.2