diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 013c84c5..1e591ce3 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -204,12 +204,17 @@ MHD_default_logger_ (void *cls, | |||
204 | 204 | ||
205 | 205 | ||
206 | /** | 206 | /** |
207 | * Free the memory given by @a ptr. Calls "free(ptr)". This function | 207 | * Free the memory allocated by MHD. |
208 | * should be used to free the username returned by | 208 | * |
209 | * #MHD_digest_auth_get_username(). | 209 | * If any MHD function explicitly mentions that returned pointer must be |
210 | * @note Available since #MHD_VERSION 0x00095600 | 210 | * freed by this function, then no other method must be used to free |
211 | * the memory. | ||
211 | * | 212 | * |
212 | * @param ptr pointer to free. | 213 | * @param ptr the pointer to free. |
214 | * @sa #MHD_digest_auth_get_username(), #MHD_basic_auth_get_username_password3() | ||
215 | * @sa #MHD_basic_auth_get_username_password() | ||
216 | * @note Available since #MHD_VERSION 0x00095600 | ||
217 | * @ingroup specialized | ||
213 | */ | 218 | */ |
214 | _MHD_EXTERN void | 219 | _MHD_EXTERN void |
215 | MHD_free (void *ptr) | 220 | MHD_free (void *ptr) |