diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-02-24 11:25:28 +0100 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-02-24 11:25:28 +0100 |
commit | e7b2f86d362dca94c03b50e9a9f1ec9220de9b21 (patch) | |
tree | 31fa7c6fece24e80eb705df0ff5b89da9da5313b /src/transport/transport-testing2.c | |
parent | e3c79b5a5d77ee22e78d503cf2318d809551ee2c (diff) | |
download | gnunet-e7b2f86d362dca94c03b50e9a9f1ec9220de9b21.tar.gz gnunet-e7b2f86d362dca94c03b50e9a9f1ec9220de9b21.zip |
-fix neighbour send
Diffstat (limited to 'src/transport/transport-testing2.c')
-rw-r--r-- | src/transport/transport-testing2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/transport-testing2.c b/src/transport/transport-testing2.c index 23173e763..513b030b8 100644 --- a/src/transport/transport-testing2.c +++ b/src/transport/transport-testing2.c | |||
@@ -696,6 +696,11 @@ GNUNET_TRANSPORT_TESTING_stop_peer (struct | |||
696 | GNUNET_ATS_connectivity_done (p->ats); | 696 | GNUNET_ATS_connectivity_done (p->ats); |
697 | p->ats = NULL; | 697 | p->ats = NULL; |
698 | } | 698 | } |
699 | if (NULL != p->ph) | ||
700 | { | ||
701 | GNUNET_PEERSTORE_disconnect (p->ph, GNUNET_NO); | ||
702 | p->ph = NULL; | ||
703 | } | ||
699 | if (NULL != p->hello) | 704 | if (NULL != p->hello) |
700 | { | 705 | { |
701 | GNUNET_free (p->hello); | 706 | GNUNET_free (p->hello); |