Commit 1ba5883764f57f2d42c7a5688cbe72f3a0596fa5

Baptiste 2024-08-03T12:43:37

http test correction

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/http/http_response.c b/http/http_response.c
index ca67e11..248a042 100644
--- a/http/http_response.c
+++ b/http/http_response.c
@@ -77,6 +77,7 @@ sw http_response_buf_write (const s_http_response *response,
   else {
     tag_message.type = TAG_STR;
     tag_message.data.str = response->message;
+    tag_message.data.str.free.p = NULL;
   }
   err_write_1("message: ");
   err_inspect_tag(&tag_message);