commit | 57b8a53f03bc8a442fa3d90f9d763439912e31bb | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jun 17 20:33:30 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jun 17 20:33:30 2015 +0200 |
tree | 3e889e56d65d9eb52704b75a733d27daadd4f8ac | |
parent | ce7b4def7415be6dad293db08f39650ce24c3827 [diff] |
BUG/MEDIUM: lru: fix possible memory leak when ->free() is used Commit 7810ad7 ("BUG/MAJOR: lru: fix unconditional call to free due to unexpected semi-colon") was not enough, it happens that the free() is not performed at the right place because if the evicted node is recycled, we must also release its data before it gets overwritten. No backport is needed.