libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit ae1feacf2aee18d1fd2627a495ec08c64cac102c
parent 78948196e5c86f353d1b0de3179ee3fcad21016c
Author: Andrey Uzunov <andrey.uzunov@gmail.com>
Date:   Thu, 10 Oct 2013 15:02:16 +0000

spdy: check input param for null

Diffstat:
Msrc/microspdy/structures.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/microspdy/structures.c b/src/microspdy/structures.c @@ -272,6 +272,8 @@ SPDY_name_value_iterate (struct SPDY_NameValue *container, void SPDY_destroy_response(struct SPDY_Response *response) { + if(NULL == response) + return; free(response->data); free(response->headers); free(response);