commit | b3f0d42a1d3dbebca411ef4f789eb1a4443ff42f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon May 02 16:20:36 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 02 16:20:36 2022 +0200 |
tree | e53525beb2078a100294cbc19e8df78bf8518802 | |
parent | 291ee25696e950fec05d43abcf928e11f0f99fdb [diff] |
CLEANUP: backend: make alloc_{bind,dst}_address() idempotent These functions dynamically allocate a source or destination address but start by clearing the previous one. There's a non-null risk of leaking addresses there in case of misuse. Better have them do nothing if the address was already allocated.