Skip to content
  • Tomas Krizek's avatar
    1d68f5ed
    daemon/http: fix memleak · 1d68f5ed
    Tomas Krizek authored
    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.
    1d68f5ed
    daemon/http: fix memleak
    Tomas Krizek authored
    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.
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading