aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_sharedservices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_testing_sharedservices.c')
-rw-r--r--src/testing/test_testing_sharedservices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_testing_sharedservices.c b/src/testing/test_testing_sharedservices.c
index 5b5bc0a24..e2f956e62 100644
--- a/src/testing/test_testing_sharedservices.c
+++ b/src/testing/test_testing_sharedservices.c
@@ -107,7 +107,7 @@ run (void *cls, char *const *args, const char *cfgfile,
107 struct GNUNET_TESTING_Peer *peer; 107 struct GNUNET_TESTING_Peer *peer;
108 unsigned int cnt; 108 unsigned int cnt;
109 109
110 test_ctx = GNUNET_malloc (sizeof (struct TestingContext)); 110 test_ctx = GNUNET_new (struct TestingContext);
111 test_ctx->system = 111 test_ctx->system =
112 GNUNET_TESTING_system_create ("test-gnunet-testing", 112 GNUNET_TESTING_system_create ("test-gnunet-testing",
113 "127.0.0.1", NULL, ss); 113 "127.0.0.1", NULL, ss);