diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
commit | e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch) | |
tree | 61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/dht/gnunet-service-dht_neighbours.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index fce69d3f6..b211fca6b 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -1436,7 +1436,7 @@ GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, | |||
1436 | if (msize + sizeof(struct PeerGetMessage) >= GNUNET_MAX_MESSAGE_SIZE) | 1436 | if (msize + sizeof(struct PeerGetMessage) >= GNUNET_MAX_MESSAGE_SIZE) |
1437 | { | 1437 | { |
1438 | GNUNET_break (0); | 1438 | GNUNET_break (0); |
1439 | GNUNET_free_non_null (reply_bf); | 1439 | GNUNET_free (reply_bf); |
1440 | GNUNET_free (targets); | 1440 | GNUNET_free (targets); |
1441 | return GNUNET_NO; | 1441 | return GNUNET_NO; |
1442 | } | 1442 | } |
@@ -1493,7 +1493,7 @@ GDS_NEIGHBOURS_handle_get (enum GNUNET_BLOCK_Type type, | |||
1493 | env); | 1493 | env); |
1494 | } | 1494 | } |
1495 | GNUNET_free (targets); | 1495 | GNUNET_free (targets); |
1496 | GNUNET_free_non_null (reply_bf); | 1496 | GNUNET_free (reply_bf); |
1497 | return (skip_count < target_count) ? GNUNET_OK : GNUNET_NO; | 1497 | return (skip_count < target_count) ? GNUNET_OK : GNUNET_NO; |
1498 | } | 1498 | } |
1499 | 1499 | ||