aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-24 14:11:55 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-24 14:11:55 +0000
commit6f2414ef4cc79a0d9a8df0444ad50002aff3d2a8 (patch)
treeca88b801f8a679dededdf4a2deedffb3d0d31ed1
parent6a7d5570410c1c9e7ce85f7c6ad1b0ca1d63391a (diff)
downloadlibmicrohttpd-6f2414ef4cc79a0d9a8df0444ad50002aff3d2a8.tar.gz
libmicrohttpd-6f2414ef4cc79a0d9a8df0444ad50002aff3d2a8.zip
check NULL
-rw-r--r--src/daemon/postprocessor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/postprocessor.c b/src/daemon/postprocessor.c
index ff15ca45..4c906439 100644
--- a/src/daemon/postprocessor.c
+++ b/src/daemon/postprocessor.c
@@ -1028,6 +1028,8 @@ MHD_destroy_post_processor (struct MHD_PostProcessor *pp)
1028{ 1028{
1029 int ret; 1029 int ret;
1030 1030
1031 if (NULL == pp)
1032 return MHD_YES;
1031 /* These internal strings need cleaning up since 1033 /* These internal strings need cleaning up since
1032 the post-processing may have been interrupted 1034 the post-processing may have been interrupted
1033 at any stage */ 1035 at any stage */