commit 6f2414ef4cc79a0d9a8df0444ad50002aff3d2a8
parent 6a7d5570410c1c9e7ce85f7c6ad1b0ca1d63391a
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 24 Nov 2011 14:11:55 +0000
check NULL
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/daemon/postprocessor.c b/src/daemon/postprocessor.c
@@ -1028,6 +1028,8 @@ MHD_destroy_post_processor (struct MHD_PostProcessor *pp)
{
int ret;
+ if (NULL == pp)
+ return MHD_YES;
/* These internal strings need cleaning up since
the post-processing may have been interrupted
at any stage */