commit 24305c50dd976c24a4aab39c6d8b3ea24ff16aeb
parent cef420ebd7d5a8861fccf3b25ee20ae1e20eeb05
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 18 Jan 2016 20:30:54 +0000
free user to clarify API usage
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c
@@ -82,6 +82,8 @@ ahc_echo (void *cls,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
}
+ if (NULL != user)
+ free (user);
if (NULL != pass)
free (pass);
MHD_destroy_response (response);