You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2018/10/12 00:59:05 UTC
[geode-native] branch develop updated: GEODE-5693: Revert fix to
memory leak.
This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 4b3700d GEODE-5693: Revert fix to memory leak.
4b3700d is described below
commit 4b3700d3e89ab61a0d29428c3aa0aae7fe6b7e26
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Thu Oct 11 17:58:35 2018 -0700
GEODE-5693: Revert fix to memory leak.
---
cppcache/integration-test/fw_dunit.hpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cppcache/integration-test/fw_dunit.hpp b/cppcache/integration-test/fw_dunit.hpp
index e004c3b..9378169 100644
--- a/cppcache/integration-test/fw_dunit.hpp
+++ b/cppcache/integration-test/fw_dunit.hpp
@@ -220,8 +220,7 @@ END_TASK(validate)
} \
} \
;
-#define CALL_TASK(y) \
- auto DVARNAME(y) = std::unique_ptr<DCLASSDEF(y)>(new DCLASSDEF(y)());
+#define CALL_TASK(y) DCLASSDEF(y) * DVARNAME(y) = new DCLASSDEF(y)();
#define DUNIT_MAIN \
class DCLASSNAME(Main) { \