aboutsummaryrefslogtreecommitdiff
path: root/doc/man3/html_node_alloc.3
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-22 02:18:14 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-08-22 02:27:33 +0200
commit15686de86f15866041107bd9830834636008fe1b (patch)
tree899dcde0ed6930085452dd508198dc4791afd929 /doc/man3/html_node_alloc.3
parent407b5d32156d60420f83d6e0567e9b3e9c878ad9 (diff)
http.c: Fix memory leak on read failure
For some unknown reason, ctx_free was only called by update_lstate, but this is not the only function that modifies a struct ctx instance. Since struct ctx is related to read operations, ctx_free must instead be called whenever http_read fails.
Diffstat (limited to 'doc/man3/html_node_alloc.3')
0 files changed, 0 insertions, 0 deletions