add MHD_free(), actual 'code'

This commit is contained in:
Christian Grothoff
2017-10-09 22:42:21 +02:00
parent 330a40552c
commit 3de0ceb242
+14
View File
@@ -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.
*