summaryrefslogtreecommitdiff
path: root/src/datastore/test_plugin_datastore.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
committerLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
commite0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch)
treeecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/datastore/test_plugin_datastore.c
parent92fd84dc7ef98452f848a62677c61a2b80b5835e (diff)
downloadgnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz
gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip
malloc -> new
Diffstat (limited to 'src/datastore/test_plugin_datastore.c')
-rw-r--r--src/datastore/test_plugin_datastore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastore/test_plugin_datastore.c b/src/datastore/test_plugin_datastore.c
index 844d32a7b..4eefcaefa 100644
--- a/src/datastore/test_plugin_datastore.c
+++ b/src/datastore/test_plugin_datastore.c
@@ -345,7 +345,7 @@ run (void *cls, char *const *args, const char *cfgfile,
345 "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n"); 345 "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n");
346 return; 346 return;
347 } 347 }
348 crc = GNUNET_malloc (sizeof (struct CpsRunContext)); 348 crc = GNUNET_new (struct CpsRunContext);
349 crc->api = api; 349 crc->api = api;
350 crc->cfg = c; 350 crc->cfg = c;
351 crc->phase = RP_PUT; 351 crc->phase = RP_PUT;