- minor renamings
[oweals/gnunet.git] / src / testing / test_testing_sharedservices.c
index 5b5bc0a2445d49f35f64f7ec4beb97eb5babd02c..e2f956e623f83c19db7eb6cb47f5b090f3ddd42b 100644 (file)
@@ -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);