]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix memory leak reporting.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 8 Feb 2015 13:14:05 +0000 (13:14 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 9 Feb 2015 12:53:36 +0000 (12:53 +0000)
commit9c7a780bbebc1b6d87dc38a6aa3339033911a8bb
treec16fb6c8590b840de7221f83fa4a61b32edaffd6
parent259c360d0b4faad28c89c97352291219903ee3c5
Fix memory leak reporting.

Free up bio_err after memory leak data has been printed to it.

In int_free_ex_data if ex_data is NULL there is nothing to free up
so return immediately and don't reallocate it.
Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/openssl.c
crypto/ex_data.c