commit | 3bda3f422ee8c3da6b807c6e37db0b3d934ef740 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 26 21:05:08 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 26 21:27:33 2021 +0100 |
tree | 6899a1f471a32101eec42c0ec82419694faecedf | |
parent | e709e821734c306ae482e537e3ab4960046e386c [diff] |
CLEANUP: ssl: use realloc() instead of free()+malloc() There was a free(ptr) followed by ptr=malloc(ptr, len), which is the equivalent of ptr = realloc(ptr, len) but slower and less clean. Let's replace this.