daemon/http: fix memleak if http_write_pkt() fails
Compare changes
+ 21
− 6
@@ -417,7 +418,6 @@ static void on_pkt_write(struct http_data *data, int status)
@@ -576,22 +576,33 @@ static int http_send_response(nghttp2_session *h2, int32_t stream_id,
@@ -599,6 +610,10 @@ static int http_send_response(nghttp2_session *h2, int32_t stream_id,