修复内存泄漏问题
This commit is contained in:
@@ -180,6 +180,7 @@ static struct keyring* get_keyring_from_response(const char* data)
|
||||
if(chain_cert)
|
||||
printf("push to chain\n");
|
||||
sk_X509_push(chain, chain_cert);
|
||||
ssl_x509_refcount_inc(chain_cert);
|
||||
}
|
||||
struct keyring_private* _kyr= keyring_new();
|
||||
printf("cert is %s", cert == NULL ? "null" : "not null\n");
|
||||
|
||||
Reference in New Issue
Block a user