diff options
Diffstat (limited to 'src/examples/authorization_example.c')
-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); |