diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-01-18 20:29:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-01-18 20:29:38 +0000 |
commit | cef420ebd7d5a8861fccf3b25ee20ae1e20eeb05 (patch) | |
tree | 103ec3d570a81dc7e1847a5d48282479c7f88cbf | |
parent | a375ced487698a957c5f2f30a965a2755f9e2cb3 (diff) | |
download | libmicrohttpd-cef420ebd7d5a8861fccf3b25ee20ae1e20eeb05.tar.gz libmicrohttpd-cef420ebd7d5a8861fccf3b25ee20ae1e20eeb05.zip |
free pass to clarify API usage
-rw-r--r-- | src/examples/authorization_example.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c index 8be6ad15..5d3433d8 100644 --- a/src/examples/authorization_example.c +++ b/src/examples/authorization_example.c | |||
@@ -82,7 +82,8 @@ ahc_echo (void *cls, | |||
82 | MHD_RESPMEM_PERSISTENT); | 82 | MHD_RESPMEM_PERSISTENT); |
83 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); | 83 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); |
84 | } | 84 | } |
85 | 85 | if (NULL != pass) | |
86 | free (pass); | ||
86 | MHD_destroy_response (response); | 87 | MHD_destroy_response (response); |
87 | return ret; | 88 | return ret; |
88 | } | 89 | } |