diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 8ec310cc..2729bb21 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c @@ -235,6 +235,21 @@ MHD_default_logger_ (void *cls, /** + * Free the memory given by @a ptr. Calls "free(ptr)". This function + * should be used to free the username returned by + * #MHD_digest_auth_get_username(). + * @note Since v0.9.56 + * + * @param ptr pointer to free. + */ +_MHD_EXTERN void +MHD_free (void *ptr) +{ + free (ptr); +} + + +/** * Trace up to and return master daemon. If the supplied daemon * is a master, then return the daemon itself. * |