diff options
Diffstat (limited to 'src/testing/gnunet-cmds-helper.c')
-rw-r--r-- | src/testing/gnunet-cmds-helper.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/gnunet-cmds-helper.c b/src/testing/gnunet-cmds-helper.c index f90cc3cc4..5ff7c04ea 100644 --- a/src/testing/gnunet-cmds-helper.c +++ b/src/testing/gnunet-cmds-helper.c | |||
@@ -415,8 +415,6 @@ tokenizer_cb (void *cls, const struct GNUNET_MessageHeader *message) | |||
415 | plugin->n, plugin->local_m, ni->topology_data, | 415 | plugin->n, plugin->local_m, ni->topology_data, |
416 | ni->read_file); | 416 | ni->read_file); |
417 | 417 | ||
418 | GNUNET_free (binary); | ||
419 | |||
420 | msg_length = sizeof(struct GNUNET_CMDS_HelperReply); | 418 | msg_length = sizeof(struct GNUNET_CMDS_HelperReply); |
421 | reply = GNUNET_new (struct GNUNET_CMDS_HelperReply); | 419 | reply = GNUNET_new (struct GNUNET_CMDS_HelperReply); |
422 | reply->header.type = htons (GNUNET_MESSAGE_TYPE_CMDS_HELPER_REPLY); | 420 | reply->header.type = htons (GNUNET_MESSAGE_TYPE_CMDS_HELPER_REPLY); |
@@ -424,6 +422,10 @@ tokenizer_cb (void *cls, const struct GNUNET_MessageHeader *message) | |||
424 | 422 | ||
425 | write_message ((struct GNUNET_MessageHeader *) reply, msg_length); | 423 | write_message ((struct GNUNET_MessageHeader *) reply, msg_length); |
426 | 424 | ||
425 | GNUNET_free (binary); | ||
426 | GNUNET_free (router_ip); | ||
427 | GNUNET_free (plugin_name); | ||
428 | |||
427 | return GNUNET_OK; | 429 | return GNUNET_OK; |
428 | } | 430 | } |
429 | else if (GNUNET_MESSAGE_TYPE_CMDS_HELPER_ALL_PEERS_STARTED == ntohs ( | 431 | else if (GNUNET_MESSAGE_TYPE_CMDS_HELPER_ALL_PEERS_STARTED == ntohs ( |