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