commit | 32211a17eb1f1a18d960ec2a451992a928aaaf95 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Feb 01 18:10:46 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 01 18:17:36 2019 +0100 |
tree | 9c326578e647885bf8176d104e222c68a772e75d | |
parent | 053c15750bc7207979e8ef8317c1aa125bfe9ea2 [diff] |
BUG/MEDIUM: stream: Don't forget to free s->unique_id in stream_free(). In stream_free(), free s->unique_id. We may still have one, because it's allocated in log.c::strm_log() no matter what, even if it's a TCP connection and thus it won't get free'd by http_end_txn(). Failure to do so leads to a memory leak. This should probably be backported to all maintained branches.