commit cef420ebd7d5a8861fccf3b25ee20ae1e20eeb05
parent a375ced487698a957c5f2f30a965a2755f9e2cb3
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 18 Jan 2016 20:29:38 +0000
free pass to clarify API usage
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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;
}