]> granicus.if.org Git - curl/commit
wolfSSL/CyaSSL: Fix memory leak in Curl_cyassl_random
authorCarie Pointer <carie@wolfssl.com>
Fri, 20 Jul 2018 20:00:09 +0000 (13:00 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Jul 2018 14:21:59 +0000 (16:21 +0200)
commit10d8f3f1344b958a9bea3b3d9f607bc624bce410
tree9f4bc6f9ae608b5b5a29196e365b384884dd1ac6
parenta7091ba75d820612ec260da805e9148397eddfcd
wolfSSL/CyaSSL: Fix memory leak in Curl_cyassl_random

RNG structure must be freed by call to FreeRng after its use in
Curl_cyassl_random. This call fixes Valgrind failures when running the
test suite with wolfSSL.

Closes #2784
lib/vtls/cyassl.c