aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/http2-pushinmemory.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-09-18 09:06:07 +0200
committerDaniel Gustafsson <daniel@yesql.se>2018-09-18 09:08:06 +0200
commited7830061e2e2d4ec3b0867157995805b066cf8d (patch)
treec03ff5acfc2da0f4f554e77aad6f6bb516a1cda1 /docs/examples/http2-pushinmemory.c
parent23524bf85b887adbc513bc015c9530355967bc04 (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 'docs/examples/http2-pushinmemory.c')
0 files changed, 0 insertions, 0 deletions