commit | 76837bc948578e91e113141bd4c73dad8093be3b | [log] [tgz] |
---|---|---|
author | Ilya Shipitsin <chipitsine@gmail.com> | Thu Jan 07 22:45:13 2021 +0500 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 08 14:45:39 2021 +0100 |
tree | 7c8c9343edaf34aa0204184e94508a26ddd8c3a4 | |
parent | 3bad3d5ee64caec53077018a848075bdc817580e [diff] |
CLEANUP: cfgparse: replace "realloc" with "my_realloc2" to fix to memory leak on error my_realloc2 frees variable in case of allocation failure. fixes #1030 realloc was introduced in 9e1758efbd68c8b1d27e17e2abe4444e110f3ebe this might be backported to 2.2, 2.3