[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Is there something like MHD_free() ?
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] Is there something like MHD_free() ? |
Date: |
Mon, 9 Oct 2017 19:30:39 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
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?
signature.asc
Description: OpenPGP digital signature