Casual inspection suggests you want MHD_RESPMEM_MUST_COPY here, as you do free 'listing' yourself, so right now you and MHD both call free(), which is unhealthy...
-Christian
On 02/17/2016 11:53 AM, Laurence Rochfort wrote:
> response = MHD_create_response_from_buffer(strlen(tree_args->listing),
> tree_args->listing, MHD_RESPMEM_MUST_FREE);
>
0xE29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
