commit | 11a4503cd87440e834d6c4cedf3d50bd9d9635c0 | [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 15:19:21 2021 +0100 |
tree | 6a074b9601a14d9103d34f9414e81772550e4925 | |
parent | cc0598a5ac0b57f10932afb613ddbf7b1bd2a7ae [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 (cherry picked from commit 76837bc948578e91e113141bd4c73dad8093be3b) Signed-off-by: Willy Tarreau <w@1wt.eu>