diff options
author | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
commit | e0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch) | |
tree | ecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/testing/test_testing_peerstartup2.c | |
parent | 92fd84dc7ef98452f848a62677c61a2b80b5835e (diff) | |
download | gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip |
malloc -> new
Diffstat (limited to 'src/testing/test_testing_peerstartup2.c')
-rw-r--r-- | src/testing/test_testing_peerstartup2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_testing_peerstartup2.c b/src/testing/test_testing_peerstartup2.c index a4bdd4d65..2bdae72eb 100644 --- a/src/testing/test_testing_peerstartup2.c +++ b/src/testing/test_testing_peerstartup2.c | |||
@@ -164,7 +164,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
164 | char *emsg; | 164 | char *emsg; |
165 | struct GNUNET_PeerIdentity id; | 165 | struct GNUNET_PeerIdentity id; |
166 | 166 | ||
167 | test_ctx = GNUNET_malloc (sizeof (struct TestingContext)); | 167 | test_ctx = GNUNET_new (struct TestingContext); |
168 | test_ctx->system = | 168 | test_ctx->system = |
169 | GNUNET_TESTING_system_create ("test-gnunet-testing", | 169 | GNUNET_TESTING_system_create ("test-gnunet-testing", |
170 | "127.0.0.1", NULL, NULL); | 170 | "127.0.0.1", NULL, NULL); |