From e0ca7357cd0bfedc5c29cb731b56279fef8da059 Mon Sep 17 00:00:00 2001 From: LRN Date: Thu, 19 Dec 2013 06:00:23 +0000 Subject: malloc -> new --- src/datastore/test_plugin_datastore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/datastore/test_plugin_datastore.c') 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, "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n"); return; } - crc = GNUNET_malloc (sizeof (struct CpsRunContext)); + crc = GNUNET_new (struct CpsRunContext); crc->api = api; crc->cfg = c; crc->phase = RP_PUT; -- cgit v1.2.3