aboutsummaryrefslogtreecommitdiff
path: root/src/microspdy/structures.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microspdy/structures.c')
-rw-r--r--src/microspdy/structures.c2
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,
272void 272void
273SPDY_destroy_response(struct SPDY_Response *response) 273SPDY_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);