mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
add MHD_free(), actual 'code'
This commit is contained in:
@@ -77,6 +77,20 @@ struct MemoryPool
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 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().
|
||||
*
|
||||
* @param ptr pointer to free.
|
||||
*/
|
||||
void
|
||||
MHD_free (void *ptr)
|
||||
{
|
||||
free (ptr);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a memory pool.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user