commit | 8135d9bc0cf48745e2f5894c7ff068495e350dc3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 30 15:35:11 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Oct 31 13:14:10 2020 +0100 |
tree | a91c3326e6ac6a5dbcd8dd3f18d897750d5b4f3a | |
parent | 6bedf151e1a934ff6673fc18bbca08440fc1e54f [diff] |
CLEANUP: pattern: use calloc() rather than malloc for structures It's particularly difficult to make sure that the various pattern structures are properly initialized given that they can be allocated at multiple places and systematically via malloc() instead of calloc(), thus not even leaving the possibility of default values. Let's adjust a few of them.