Well, if creating the PP failed, why would you try to destroy it? ;-).

I don't think that any function has to work nicely when being called with NULL (unless specified that it should accept NULL, of course).

Happy hacking,

Christian

On 11/24/2011 01:35 PM, Andreas Wehrmann wrote:
I ran into a segfault today, caused by passing NULL to
MHD_destroy_post_processor().
This function doesn't check whether *pp is NULL, see
postprocessor.c:1027 (version 0.9.17).

Regards,
Andreas


Reply via email to