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


crypto/asn1/x_req.c:197:1: start of procedure X509_REQ_new()
195.   	}
196.   
197. > X509_REQ *X509_REQ_new(void)
198.   	{
199.   	X509_REQ *ret=NULL;

crypto/asn1/x_req.c:199:2: 
197.   X509_REQ *X509_REQ_new(void)
198.   	{
199. > 	X509_REQ *ret=NULL;
200.   	ASN1_CTX c;
201.   

crypto/asn1/x_req.c:202:2: Taking false branch
200.   	ASN1_CTX c;
201.   
202.   	M_ASN1_New_Malloc(ret,X509_REQ);
        ^
203.   	ret->references=1;
204.   	M_ASN1_New(ret->req_info,X509_REQ_INFO_new);

crypto/asn1/x_req.c:203:2: 
201.   
202.   	M_ASN1_New_Malloc(ret,X509_REQ);
203. > 	ret->references=1;
204.   	M_ASN1_New(ret->req_info,X509_REQ_INFO_new);
205.   	M_ASN1_New(ret->sig_alg,X509_ALGOR_new);

crypto/asn1/x_req.c:204:2: Taking true branch
202.   	M_ASN1_New_Malloc(ret,X509_REQ);
203.   	ret->references=1;
204.   	M_ASN1_New(ret->req_info,X509_REQ_INFO_new);
        ^
205.   	M_ASN1_New(ret->sig_alg,X509_ALGOR_new);
206.   	M_ASN1_New(ret->signature,M_ASN1_BIT_STRING_new);

X509_REQ *X509_REQ_new(void)
	{
	X509_REQ *ret=NULL;
	ASN1_CTX c;
	M_ASN1_New_Malloc(ret,X509_REQ);
	ret->references=1;
	M_ASN1_New(ret->req_info,X509_REQ_INFO_new);
	M_ASN1_New(ret->sig_alg,X509_ALGOR_new);
	M_ASN1_New(ret->signature,M_ASN1_BIT_STRING_new);
	return(ret);
	M_ASN1_New_Error(ASN1_F_X509_REQ_NEW);
	}
['X509_REQ *X509_REQ_new(void)\n\t{\n\tX509_REQ *ret=NULL;\n\tASN1_CTX c;\n\tM_ASN1_New_Malloc(ret,X509_REQ);\n\tret->references=1;\n\tM_ASN1_New(ret->req_info,X509_REQ_INFO_new);\n\tM_ASN1_New(ret->sig_alg,X509_ALGOR_new);\n\tM_ASN1_New(ret->signature,M_ASN1_BIT_STRING_new);\n\treturn(ret);\n\tM_ASN1_New_Error(ASN1_F_X509_REQ_NEW);\n\t}']