diff options
Diffstat (limited to 'src/microspdy/structures.c')
-rw-r--r-- | src/microspdy/structures.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microspdy/structures.c b/src/microspdy/structures.c index eab7cdd6..089bfd2b 100644 --- a/src/microspdy/structures.c +++ b/src/microspdy/structures.c | |||
@@ -272,6 +272,8 @@ SPDY_name_value_iterate (struct SPDY_NameValue *container, | |||
272 | void | 272 | void |
273 | SPDY_destroy_response(struct SPDY_Response *response) | 273 | SPDY_destroy_response(struct SPDY_Response *response) |
274 | { | 274 | { |
275 | if(NULL == response) | ||
276 | return; | ||
275 | free(response->data); | 277 | free(response->data); |
276 | free(response->headers); | 278 | free(response->headers); |
277 | free(response); | 279 | free(response); |