aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-helper-testbed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-helper-testbed.c')
-rw-r--r--src/testbed/gnunet-helper-testbed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testbed/gnunet-helper-testbed.c b/src/testbed/gnunet-helper-testbed.c
index 4c68b2cd4..e8c70a354 100644
--- a/src/testbed/gnunet-helper-testbed.c
+++ b/src/testbed/gnunet-helper-testbed.c
@@ -480,7 +480,7 @@ tokenizer_cb (void *cls, void *client,
480 xconfig_size = 480 xconfig_size =
481 GNUNET_TESTBED_compress_config_ (config, config_size, &xconfig); 481 GNUNET_TESTBED_compress_config_ (config, config_size, &xconfig);
482 GNUNET_free (config); 482 GNUNET_free (config);
483 wc = GNUNET_malloc (sizeof (struct WriteContext)); 483 wc = GNUNET_new (struct WriteContext);
484 wc->length = xconfig_size + sizeof (struct GNUNET_TESTBED_HelperReply); 484 wc->length = xconfig_size + sizeof (struct GNUNET_TESTBED_HelperReply);
485 reply = GNUNET_realloc (xconfig, wc->length); 485 reply = GNUNET_realloc (xconfig, wc->length);
486 memmove (&reply[1], reply, xconfig_size); 486 memmove (&reply[1], reply, xconfig_size);