aboutsummaryrefslogtreecommitdiff
path: root/src/dht/plugin_block_dht.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/plugin_block_dht.c')
-rw-r--r--src/dht/plugin_block_dht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/plugin_block_dht.c b/src/dht/plugin_block_dht.c
index a21167fb0..d6798f18c 100644
--- a/src/dht/plugin_block_dht.c
+++ b/src/dht/plugin_block_dht.c
@@ -172,7 +172,7 @@ libgnunet_plugin_block_dht_init (void *cls)
172 }; 172 };
173 struct GNUNET_BLOCK_PluginFunctions *api; 173 struct GNUNET_BLOCK_PluginFunctions *api;
174 174
175 api = GNUNET_malloc (sizeof (struct GNUNET_BLOCK_PluginFunctions)); 175 api = GNUNET_new (struct GNUNET_BLOCK_PluginFunctions);
176 api->evaluate = &block_plugin_dht_evaluate; 176 api->evaluate = &block_plugin_dht_evaluate;
177 api->get_key = &block_plugin_dht_get_key; 177 api->get_key = &block_plugin_dht_get_key;
178 api->types = types; 178 api->types = types;