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


crypto/asn1/x_x509.c:112:1: start of procedure X509_new()
110.   	}
111.   
112. > X509 *X509_new(void)
113.   	{
114.   	X509 *ret=NULL;

crypto/asn1/x_x509.c:114:2: 
112.   X509 *X509_new(void)
113.   	{
114. > 	X509 *ret=NULL;
115.   	ASN1_CTX c;
116.   

crypto/asn1/x_x509.c:117:2: Taking false branch
115.   	ASN1_CTX c;
116.   
117.   	M_ASN1_New_Malloc(ret,X509);
        ^
118.   	ret->references=1;
119.   	ret->valid=0;

crypto/asn1/x_x509.c:118:2: 
116.   
117.   	M_ASN1_New_Malloc(ret,X509);
118. > 	ret->references=1;
119.   	ret->valid=0;
120.   	ret->name=NULL;

crypto/asn1/x_x509.c:119:2: 
117.   	M_ASN1_New_Malloc(ret,X509);
118.   	ret->references=1;
119. > 	ret->valid=0;
120.   	ret->name=NULL;
121.   	M_ASN1_New(ret->cert_info,X509_CINF_new);

crypto/asn1/x_x509.c:120:2: 
118.   	ret->references=1;
119.   	ret->valid=0;
120. > 	ret->name=NULL;
121.   	M_ASN1_New(ret->cert_info,X509_CINF_new);
122.   	M_ASN1_New(ret->sig_alg,X509_ALGOR_new);

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