-fix URIs
[oweals/gnunet.git] / src / testing / test_testing_peerstartup.c
index b871ed1e30ab4565c30a3cb4760a85dda339a058..e025b4138c74b365203bc1d6cf3e3119275bb139 100644 (file)
@@ -95,7 +95,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   char *emsg;
   struct GNUNET_PeerIdentity id;
 
-  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, NULL);