Fix possible memory leak on BUF_MEM_grow_clean failure
authorFdaSilvaYY <fdasilvayy@gmail.com>
Thu, 21 Jan 2016 22:09:57 +0000 (23:09 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Sat, 23 Jan 2016 23:47:13 +0000 (00:47 +0100)
commit3eb70c5ebae6f2b5fd6034ed5af14910c8479688
treebda305191946157eb15fef8fc46e89b3f1aa1c43
parent642a613809ef68432eefbbd957ec542c70a8d7b4
Fix possible memory leak on BUF_MEM_grow_clean failure

Simplify BUF_MEM init. code

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #580
crypto/asn1/tasn_dec.c