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/30 20:16:23 UTC
mesos git commit: Fix new/delete mismatch in subprocess test.
Repository: mesos
Updated Branches:
refs/heads/master b09f8af51 -> 19d0a89f2
Fix new/delete mismatch in subprocess test.
Review: https://reviews.apache.org/r/36947
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/19d0a89f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/19d0a89f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/19d0a89f
Branch: refs/heads/master
Commit: 19d0a89f274c9f96bcd3df9e6956adaa85661987
Parents: b09f8af
Author: Paul Brett <pa...@twopensource.com>
Authored: Thu Jul 30 11:15:42 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Thu Jul 30 11:15:42 2015 -0700
----------------------------------------------------------------------
3rdparty/libprocess/src/tests/subprocess_tests.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/19d0a89f/3rdparty/libprocess/src/tests/subprocess_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/tests/subprocess_tests.cpp b/3rdparty/libprocess/src/tests/subprocess_tests.cpp
index f6acb20..ab75153 100644
--- a/3rdparty/libprocess/src/tests/subprocess_tests.cpp
+++ b/3rdparty/libprocess/src/tests/subprocess_tests.cpp
@@ -616,7 +616,7 @@ TEST_F(SubprocessTest, Flags)
for (int i = 1; i < argc; i++) {
::free(argv[i]);
}
- delete argv;
+ delete[] argv;
}