diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2018-09-18 09:06:07 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2018-09-18 09:08:06 +0200 |
commit | ed7830061e2e2d4ec3b0867157995805b066cf8d (patch) | |
tree | c03ff5acfc2da0f4f554e77aad6f6bb516a1cda1 /tests/data/test625 | |
parent | 23524bf85b887adbc513bc015c9530355967bc04 (diff) |
darwinssl: Fix realloc memleak
The reallocation was using the input pointer for the return value, which
leads to a memory leak on reallication failure. Fix by instead use the
safe internal API call Curl_saferealloc().
Closes #3005
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Nick Zitzmann <nickzman@gmail.com>
Diffstat (limited to 'tests/data/test625')
0 files changed, 0 insertions, 0 deletions