diff options
Diffstat (limited to 'src/testing/test_testing_sharedservices.c')
-rw-r--r-- | src/testing/test_testing_sharedservices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/test_testing_sharedservices.c b/src/testing/test_testing_sharedservices.c index 5b5bc0a244..e2f956e623 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, struct GNUNET_TESTING_Peer *peer; unsigned int cnt; - test_ctx = GNUNET_malloc (sizeof (struct TestingContext)); + test_ctx = GNUNET_new (struct TestingContext); test_ctx->system = GNUNET_TESTING_system_create ("test-gnunet-testing", "127.0.0.1", NULL, ss); |