aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/test_plugin_transport.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c
index 8dde5c10b..d2d03daa7 100644
--- a/src/transport/test_plugin_transport.c
+++ b/src/transport/test_plugin_transport.c
@@ -565,6 +565,9 @@ run (void *cls, char *const *args, const char *cfgfile,
565 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 565 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
566 "Hostkey `%s' missing. Exiting.\n", 566 "Hostkey `%s' missing. Exiting.\n",
567 HOSTKEY_FILE); 567 HOSTKEY_FILE);
568 GNUNET_free (keyfile);
569 end_badly_now ();
570 return;
568 } 571 }
569 572
570 if (GNUNET_OK != GNUNET_DISK_directory_create_for_file (keyfile)) 573 if (GNUNET_OK != GNUNET_DISK_directory_create_for_file (keyfile))
@@ -572,6 +575,7 @@ run (void *cls, char *const *args, const char *cfgfile,
572 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 575 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
573 "Could not create a directory for hostkey `%s'. Exiting.\n", 576 "Could not create a directory for hostkey `%s'. Exiting.\n",
574 keyfile); 577 keyfile);
578 GNUNET_free (keyfile);
575 end_badly_now (); 579 end_badly_now ();
576 return; 580 return;
577 } 581 }
@@ -581,6 +585,7 @@ run (void *cls, char *const *args, const char *cfgfile,
581 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 585 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
582 "Could not copy hostkey `%s' to destination `%s'. Exiting.\n", 586 "Could not copy hostkey `%s' to destination `%s'. Exiting.\n",
583 HOSTKEY_FILE, keyfile); 587 HOSTKEY_FILE, keyfile);
588 GNUNET_free (keyfile);
584 end_badly_now (); 589 end_badly_now ();
585 return; 590 return;
586 } 591 }