- use proper signedness
[oweals/gnunet.git] / src / datastore / test_datastore_api_management.c
index 8baeeede84682e3432844adf86443a5e785d961b..5553e5c0beb405f11622f2de281f3ee456a3a5d6 100644 (file)
@@ -258,14 +258,14 @@ run_tests (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration, c
 
 
 static void
-run (void *cls, 
+run (void *cls,
      const struct GNUNET_CONFIGURATION_Handle *cfg,
      struct GNUNET_TESTING_Peer *peer)
 {
   struct CpsRunContext *crc;
   static struct GNUNET_HashCode zkey;
 
-  crc = GNUNET_malloc (sizeof (struct CpsRunContext));
+  crc = GNUNET_new (struct CpsRunContext);
   crc->cfg = cfg;
   crc->phase = RP_PUT;
   now = GNUNET_TIME_absolute_get ();