diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed_links.c')
-rw-r--r-- | src/testbed/gnunet-service-testbed_links.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testbed/gnunet-service-testbed_links.c b/src/testbed/gnunet-service-testbed_links.c index ee00e4be0..fb25d7bcb 100644 --- a/src/testbed/gnunet-service-testbed_links.c +++ b/src/testbed/gnunet-service-testbed_links.c | |||
@@ -401,7 +401,7 @@ GST_route_list_clear () | |||
401 | for (id = 0; id < route_list_size; id++) | 401 | for (id = 0; id < route_list_size; id++) |
402 | if (NULL != route_list[id]) | 402 | if (NULL != route_list[id]) |
403 | GNUNET_free (route_list[id]); | 403 | GNUNET_free (route_list[id]); |
404 | GNUNET_free_non_null (route_list); | 404 | GNUNET_free (route_list); |
405 | route_list = NULL; | 405 | route_list = NULL; |
406 | } | 406 | } |
407 | 407 | ||
@@ -508,7 +508,7 @@ GST_slave_list_clear () | |||
508 | continue; | 508 | continue; |
509 | destroy_slave (slave); | 509 | destroy_slave (slave); |
510 | } | 510 | } |
511 | GNUNET_free_non_null (GST_slave_list); | 511 | GNUNET_free (GST_slave_list); |
512 | GST_slave_list = NULL; | 512 | GST_slave_list = NULL; |
513 | } | 513 | } |
514 | 514 | ||
@@ -1104,7 +1104,7 @@ GST_neighbour_list_clean () | |||
1104 | GNUNET_free (n); | 1104 | GNUNET_free (n); |
1105 | neighbour_list[id] = NULL; | 1105 | neighbour_list[id] = NULL; |
1106 | } | 1106 | } |
1107 | GNUNET_free_non_null (neighbour_list); | 1107 | GNUNET_free (neighbour_list); |
1108 | } | 1108 | } |
1109 | 1109 | ||
1110 | 1110 | ||