You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2015/07/09 21:52:30 UTC
mesos git commit: Fixed a bad delete call.
Repository: mesos
Updated Branches:
refs/heads/master 16763a5b6 -> 2b02f60cc
Fixed a bad delete call.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2b02f60c
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2b02f60c
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/2b02f60c
Branch: refs/heads/master
Commit: 2b02f60ccb9e052caa139690b99dadd89abb4f83
Parents: 16763a5
Author: Benjamin Mahler <be...@gmail.com>
Authored: Thu Jul 9 12:52:15 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Thu Jul 9 12:52:15 2015 -0700
----------------------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/2b02f60c/3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp
index 4519b4d..f0a69d4 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/subcommand_tests.cpp
@@ -143,7 +143,7 @@ TEST(SubcommandTest, Flags)
for (int i = 2; i < argc; i++) {
::free(argv[i]);
}
- delete argv;
+ delete[] argv;
}