crypto/asn1/x_x509.c:117: error: MEMORY_LEAK
  memory dynamically allocated to `return` by call to `malloc()` at line 113, column 2 is not reachable after line 117, column 2.
Showing all 7 steps of the trace


crypto/asn1/x_x509.c:108:1: start of procedure X509_new()
106.   	}
107.   
108. > X509 *X509_new(void)
109.   	{
110.   	X509 *ret=NULL;

crypto/asn1/x_x509.c:110:2: 
108.   X509 *X509_new(void)
109.   	{
110. > 	X509 *ret=NULL;
111.   	ASN1_CTX c;
112.   

crypto/asn1/x_x509.c:113:2: Taking false branch
111.   	ASN1_CTX c;
112.   
113.   	M_ASN1_New_Malloc(ret,X509);
        ^
114.   	ret->references=1;
115.   	ret->valid=0;

crypto/asn1/x_x509.c:114:2: 
112.   
113.   	M_ASN1_New_Malloc(ret,X509);
114. > 	ret->references=1;
115.   	ret->valid=0;
116.   	ret->name=NULL;

crypto/asn1/x_x509.c:115:2: 
113.   	M_ASN1_New_Malloc(ret,X509);
114.   	ret->references=1;
115. > 	ret->valid=0;
116.   	ret->name=NULL;
117.   	M_ASN1_New(ret->cert_info,X509_CINF_new);

crypto/asn1/x_x509.c:116:2: 
114.   	ret->references=1;
115.   	ret->valid=0;
116. > 	ret->name=NULL;
117.   	M_ASN1_New(ret->cert_info,X509_CINF_new);
118.   	M_ASN1_New(ret->sig_alg,X509_ALGOR_new);

crypto/asn1/x_x509.c:117:2: Taking true branch
115.   	ret->valid=0;
116.   	ret->name=NULL;
117.   	M_ASN1_New(ret->cert_info,X509_CINF_new);
        ^
118.   	M_ASN1_New(ret->sig_alg,X509_ALGOR_new);
119.   	M_ASN1_New(ret->signature,ASN1_BIT_STRING_new);
