daemon/http: fix memleak if http_write_pkt() fails
Compare changes
+ 21
− 6
@@ -424,7 +425,6 @@ static void on_pkt_write(struct http_data *data, int status)
@@ -589,22 +589,33 @@ static int http_send_response(nghttp2_session *h2, int32_t stream_id,
@@ -612,6 +623,10 @@ static int http_send_response(nghttp2_session *h2, int32_t stream_id,