Skip to content

daemon/http: fix memleak

Tomas Krizek requested to merge doh2-memleak into master

The http_data structure is allocated in http_write_pkt() and the last callback that uses it is on_pkt_write(), so it should be responsible for freeing the memory.

This used to leak a small amount of memory on every DoH response.

Merge request reports