提交 defd3ed8 编写于 作者: P Pauli

Property: fix memory leak.

Coverity 1456008.
Reviewed-by: NMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10509)
上级 3c957bcd
......@@ -546,9 +546,9 @@ int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, int nid,
}
ossl_method_free(&p->method);
}
OPENSSL_free(p);
err:
res = 0;
OPENSSL_free(p);
end:
ossl_property_unlock(store);
return res;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册