From cef420ebd7d5a8861fccf3b25ee20ae1e20eeb05 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 Jan 2016 20:29:38 +0000 Subject: free pass to clarify API usage --- src/examples/authorization_example.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, MHD_RESPMEM_PERSISTENT); ret = MHD_queue_response (connection, MHD_HTTP_OK, response); } - + if (NULL != pass) + free (pass); MHD_destroy_response (response); return ret; } -- cgit v1.2.3