From 98637bd30e06529e52b5f83bde32c8bd2d620e06 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Thu, 21 Jan 2016 23:10:29 +0100 Subject: Fix two possible leaks. Signed-off-by: Kurt Roeckx Reviewed-by: Rich Salz GH: #580 --- crypto/dso/dso_lib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/dso') diff --git a/crypto/dso/dso_lib.c b/crypto/dso/dso_lib.c index cc29ca4e4d..dfa738aa0a 100644 --- a/crypto/dso/dso_lib.c +++ b/crypto/dso/dso_lib.c @@ -122,6 +122,7 @@ DSO *DSO_new_method(DSO_METHOD *meth) ret->meth = meth; ret->references = 1; if ((ret->meth->init != NULL) && !ret->meth->init(ret)) { + sk_void_free(ret->meth_data); OPENSSL_free(ret); ret = NULL; } -- cgit v1.2.3