diff options
author | t3sserakt <t3ss@posteo.de> | 2020-07-21 12:30:37 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2020-07-21 12:30:37 +0200 |
commit | 5fa1c7dc809aebb55ef062cb3a2757c54eb6b7e7 (patch) | |
tree | c26167460724fea683ef51a88ffd93d1fa830412 /src/rest/gnunet-rest-server.c | |
parent | 17d84245fdfeeb1a6da4ffb97898903cb55f702c (diff) | |
parent | 7f4ddbcab8598e3d5e29c23ce883cdfa664408f1 (diff) | |
download | gnunet-5fa1c7dc809aebb55ef062cb3a2757c54eb6b7e7.tar.gz gnunet-5fa1c7dc809aebb55ef062cb3a2757c54eb6b7e7.zip |
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/rest/gnunet-rest-server.c')
-rw-r--r-- | src/rest/gnunet-rest-server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c index 30eade623..875509536 100644 --- a/src/rest/gnunet-rest-server.c +++ b/src/rest/gnunet-rest-server.c | |||
@@ -209,7 +209,7 @@ plugin_callback (void *cls, struct MHD_Response *resp, int status) | |||
209 | static int | 209 | static int |
210 | cleanup_url_map (void *cls, const struct GNUNET_HashCode *key, void *value) | 210 | cleanup_url_map (void *cls, const struct GNUNET_HashCode *key, void *value) |
211 | { | 211 | { |
212 | GNUNET_free_non_null (value); | 212 | GNUNET_free (value); |
213 | return GNUNET_YES; | 213 | return GNUNET_YES; |
214 | } | 214 | } |
215 | 215 | ||
@@ -728,8 +728,8 @@ do_shutdown (void *cls) | |||
728 | { | 728 | { |
729 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down...\n"); | 729 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down...\n"); |
730 | kill_httpd (); | 730 | kill_httpd (); |
731 | GNUNET_free_non_null (allow_credentials); | 731 | GNUNET_free (allow_credentials); |
732 | GNUNET_free_non_null (allow_headers); | 732 | GNUNET_free (allow_headers); |
733 | } | 733 | } |
734 | 734 | ||
735 | 735 | ||
@@ -1055,7 +1055,7 @@ main (int argc, char *const *argv) | |||
1055 | ? 0 | 1055 | ? 0 |
1056 | : 1; | 1056 | : 1; |
1057 | MHD_destroy_response (failure_response); | 1057 | MHD_destroy_response (failure_response); |
1058 | GNUNET_free_non_null ((char *) argv); | 1058 | GNUNET_free_nz ((char *) argv); |
1059 | return ret; | 1059 | return ret; |
1060 | } | 1060 | } |
1061 | 1061 | ||