diff options
Diffstat (limited to 'src/datastore/perf_datastore_api.c')
-rw-r--r-- | src/datastore/perf_datastore_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c index c51502cc65..90f72d6eec 100644 --- a/src/datastore/perf_datastore_api.c +++ b/src/datastore/perf_datastore_api.c @@ -303,7 +303,7 @@ run (void *cls, datastore = GNUNET_DATASTORE_connect (cfg); start_time = GNUNET_TIME_absolute_get (); - crc = GNUNET_malloc (sizeof (struct CpsRunContext)); + crc = GNUNET_new (struct CpsRunContext); crc->cfg = cfg; crc->phase = RP_PUT; if (NULL == |