On 10/09/2017 07:24 PM, Tim Rühsen wrote:
> Hi Christian,
> 
> On Montag, 9. Oktober 2017 17:46:32 CEST Christian Grothoff wrote:
>> Hi Tim,
>>
>> We definitively don't have MHD_free() today.
>>
>> I'm not aware of any API call where MHD returns a pointer to the
>> application that the application is expected to free.
> 
> MHD_basic_auth_get_username_password ?
> 
> The docs say the pass and user should be free'd:
> 
> 10.1 Using Basic Authentication
> 
> Function: char * MHD_basic_auth_get_username_password (struct MHD_Connection 
> *connection, char** password)

Ah, yes, good point, I tend to forget about the auth APIs ;-).

In that case, I guess it would make sense to add MHD_free(), unless
there is a better way?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to