summaryrefslogtreecommitdiff
path: root/ACE/contrib
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2019-02-02 14:59:37 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2019-02-02 14:59:37 +0100
commit16ad2b12a0fc2c5cb5a763d2e2b6af4595bfb3bf (patch)
treed5f4d41fb84845a29eb693e2aed4f99c54dbe5ab /ACE/contrib
parentfb5c68b8ad753f9a5124e1208d9d7f35db00c7da (diff)
downloadATCD-16ad2b12a0fc2c5cb5a763d2e2b6af4595bfb3bf.tar.gz
Fixed mismatched delete
* ACE/ace/Process.cpp: * ACE/contrib/FaCE/CE_ARGV.cpp: * ACE/contrib/FaCE/CE_Screen_Output.cpp: * ACE/contrib/FaCE/FaCE.cpp: * ACE/examples/Reactor/Proactor/test_aiocb.cpp: * ACE/tests/TkReactor_Test.cpp:
Diffstat (limited to 'ACE/contrib')
-rw-r--r--ACE/contrib/FaCE/CE_ARGV.cpp4
-rw-r--r--ACE/contrib/FaCE/CE_Screen_Output.cpp2
-rw-r--r--ACE/contrib/FaCE/FaCE.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/ACE/contrib/FaCE/CE_ARGV.cpp b/ACE/contrib/FaCE/CE_ARGV.cpp
index a1271f61c71..6e7370c625d 100644
--- a/ACE/contrib/FaCE/CE_ARGV.cpp
+++ b/ACE/contrib/FaCE/CE_ARGV.cpp
@@ -100,8 +100,8 @@ CE_ARGV::CE_ARGV(wchar_t* cmdLine)
}
}
- delete argv_strlen;
- delete formattedCmdLine;
+ delete [] argv_strlen;
+ delete [] formattedCmdLine;
}
diff --git a/ACE/contrib/FaCE/CE_Screen_Output.cpp b/ACE/contrib/FaCE/CE_Screen_Output.cpp
index 62fc53b4eea..f0d0caf6b02 100644
--- a/ACE/contrib/FaCE/CE_Screen_Output.cpp
+++ b/ACE/contrib/FaCE/CE_Screen_Output.cpp
@@ -82,7 +82,7 @@ CE_Screen_Output& CE_Screen_Output::operator << (const char* output)
MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, output, -1, w_output, len);
*this << w_output;
- delete w_output;
+ delete [] w_output;
return *this;
}
diff --git a/ACE/contrib/FaCE/FaCE.cpp b/ACE/contrib/FaCE/FaCE.cpp
index bbe83ebca91..265e21cbeee 100644
--- a/ACE/contrib/FaCE/FaCE.cpp
+++ b/ACE/contrib/FaCE/FaCE.cpp
@@ -88,7 +88,7 @@ void ParameterList::addParameter(char* newParameter)
MultiByteToWideChar(CP_OEMCP, MB_PRECOMPOSED, newParameter, -1, w_output, len);
this->addParameter(w_output);
- delete w_output;
+ delete [] w_output;
#else
this->addParameter(ACE_TEXT_CHAR_TO_TCHAR(newParameter));
#endif // NO_ACE