From: eap Date: Mon, 28 Nov 2016 14:05:09 +0000 (+0300) Subject: 23336: [CEA 1940] Crash when editing a skin mesh generated by MG-Cleaner X-Git-Tag: V8_2_0rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7844b636aa245839aaf5a0141a49e5eae97edcf7;p=modules%2Fgui.git 23336: [CEA 1940] Crash when editing a skin mesh generated by MG-Cleaner fix valgrid error "Mismatched free() / delete / delete []" --- 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; }