]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: fix bad memory free (regression)
authorDaniel Stenberg <daniel@haxx.se>
Fri, 9 Sep 2016 21:33:09 +0000 (23:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 Sep 2016 21:35:10 +0000 (23:35 +0200)
commit83ef21e5e9946de2805ae10cc5e6ef9431b22702
treea6e02f077e8c0edb46db0f8b5bd2a505510ef316
parent85033bcfccc826047bc4f847ecc0c21c2a9415fe
openssl: fix bad memory free (regression)

... by partially reverting f975f06033b1. The allocation could be made by
OpenSSL so the free must be made with OPENSSL_free() to avoid problems.

Reported-by: Harold Stuart
Fixes #1005
lib/vtls/openssl.c