On Sun, Feb 10, 2019 at 7:08 PM Christian Grothoff <groth...@gnunet.org>
wrote:

> Sure, except for one thing: your clean up is not clean: on the "error:"
> path, you do not "free(holder)", and on some of the "return MHD_NO"
> paths you leak the entire response object.
>
> If you fix those minor nitpicks, this should make a nice example.
>
> Thanks & happy hacking!
>
> -Christian
>

Thanks for the code review! :-)

Indeed, it would generate memory leak. I'm going to fix it and send the
refactored example to the MHD trunk.

Thank you very much! (y)

-- 
Silvio Clécio

Reply via email to