openssl: free mem_buf in error path 73/253773/1
authorDaniel Stenberg <daniel@haxx.se>
Mon, 30 Nov 2020 16:36:42 +0000 (17:36 +0100)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 18 Feb 2021 01:42:23 +0000 (10:42 +0900)
commit811c38c6bbc3f5b718be64f1bcfc05ee28fee1ec
tree7badcfcca27234a1a0109b57ab4e55ede55071c7
parenta6ba2539c5017c2ccd188ec42f343da87d86f091
openssl: free mem_buf in error path

To fix a memory-leak.

Closes #6267

- backported: https://github.com/curl/curl/pull/6267

Change-Id: I225c540015370218f9a249d8feb05dda20c41529
lib/vtls/openssl.c