aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_peerstartup.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
committerLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
commite0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch)
treeecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/testing/test_testing_peerstartup.c
parent92fd84dc7ef98452f848a62677c61a2b80b5835e (diff)
downloadgnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz
gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip
malloc -> new
Diffstat (limited to 'src/testing/test_testing_peerstartup.c')
-rw-r--r--src/testing/test_testing_peerstartup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_testing_peerstartup.c b/src/testing/test_testing_peerstartup.c
index b871ed1e3..e025b4138 100644
--- a/src/testing/test_testing_peerstartup.c
+++ b/src/testing/test_testing_peerstartup.c
@@ -95,7 +95,7 @@ run (void *cls, char *const *args, const char *cfgfile,
95 char *emsg; 95 char *emsg;
96 struct GNUNET_PeerIdentity id; 96 struct GNUNET_PeerIdentity id;
97 97
98 test_ctx = GNUNET_malloc (sizeof (struct TestingContext)); 98 test_ctx = GNUNET_new (struct TestingContext);
99 test_ctx->system = 99 test_ctx->system =
100 GNUNET_TESTING_system_create ("test-gnunet-testing", 100 GNUNET_TESTING_system_create ("test-gnunet-testing",
101 "127.0.0.1", NULL, NULL); 101 "127.0.0.1", NULL, NULL);