diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-01-18 20:30:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-01-18 20:30:54 +0000 |
commit | 24305c50dd976c24a4aab39c6d8b3ea24ff16aeb (patch) | |
tree | 1c1c306955cda751216c6efa8e5715c2f7a76065 | |
parent | cef420ebd7d5a8861fccf3b25ee20ae1e20eeb05 (diff) | |
download | libmicrohttpd-24305c50dd976c24a4aab39c6d8b3ea24ff16aeb.tar.gz libmicrohttpd-24305c50dd976c24a4aab39c6d8b3ea24ff16aeb.zip |
free user to clarify API usage
-rw-r--r-- | src/examples/authorization_example.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c index 5d3433d8..796ad072 100644 --- a/src/examples/authorization_example.c +++ b/src/examples/authorization_example.c | |||
@@ -82,6 +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 | if (NULL != user) | ||
86 | free (user); | ||
85 | if (NULL != pass) | 87 | if (NULL != pass) |
86 | free (pass); | 88 | free (pass); |
87 | MHD_destroy_response (response); | 89 | MHD_destroy_response (response); |