aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index b510e8993..136539ed3 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -384,7 +384,7 @@ process_hello (void *cls,
384 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 384 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
385 "Received (my) `%s' from transport service\n", "HELLO"); 385 "Received (my) `%s' from transport service\n", "HELLO");
386 GNUNET_assert (message != NULL); 386 GNUNET_assert (message != NULL);
387 GNUNET_free_non_null (p->hello); 387 GNUNET_free (p->hello);
388 p->hello = GNUNET_copy_message (message); 388 p->hello = GNUNET_copy_message (message);
389 if ((p == &p1) && (NULL == p2.oh)) 389 if ((p == &p1) && (NULL == p2.oh))
390 p2.oh = GNUNET_TRANSPORT_offer_hello (p2.cfg, 390 p2.oh = GNUNET_TRANSPORT_offer_hello (p2.cfg,
@@ -523,8 +523,8 @@ main (int argc,
523 &ok); 523 &ok);
524 stop_arm (&p1); 524 stop_arm (&p1);
525 stop_arm (&p2); 525 stop_arm (&p2);
526 GNUNET_free_non_null (p1.hello); 526 GNUNET_free (p1.hello);
527 GNUNET_free_non_null (p2.hello); 527 GNUNET_free (p2.hello);
528 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-1"); 528 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-1");
529 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-2"); 529 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-core-peer-2");
530 530