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


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

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

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

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

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

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

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