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


crypto/asn1/p7_i_s.c:92:1: start of procedure PKCS7_ISSUER_AND_SERIAL_new()
90.   	}
91.   
92. > PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void)
93.   	{
94.   	PKCS7_ISSUER_AND_SERIAL *ret=NULL;

crypto/asn1/p7_i_s.c:94:2: 
92.   PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void)
93.   	{
94. > 	PKCS7_ISSUER_AND_SERIAL *ret=NULL;
95.   	ASN1_CTX c;
96.   

crypto/asn1/p7_i_s.c:97:2: Taking false branch
95.   	ASN1_CTX c;
96.   
97.   	M_ASN1_New_Malloc(ret,PKCS7_ISSUER_AND_SERIAL);
        ^
98.   	M_ASN1_New(ret->issuer,X509_NAME_new);
99.   	M_ASN1_New(ret->serial,ASN1_INTEGER_new);

crypto/asn1/p7_i_s.c:98:2: Taking true branch
96.   
97.   	M_ASN1_New_Malloc(ret,PKCS7_ISSUER_AND_SERIAL);
98.   	M_ASN1_New(ret->issuer,X509_NAME_new);
        ^
99.   	M_ASN1_New(ret->serial,ASN1_INTEGER_new);
100.   	return(ret);

PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void)
	{
	PKCS7_ISSUER_AND_SERIAL *ret=NULL;
	ASN1_CTX c;
	M_ASN1_New_Malloc(ret,PKCS7_ISSUER_AND_SERIAL);
	M_ASN1_New(ret->issuer,X509_NAME_new);
	M_ASN1_New(ret->serial,ASN1_INTEGER_new);
	return(ret);
	M_ASN1_New_Error(ASN1_F_PKCS7_ISSUER_AND_SERIAL_NEW);
	}
['PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void)\n\t{\n\tPKCS7_ISSUER_AND_SERIAL *ret=NULL;\n\tASN1_CTX c;\n\tM_ASN1_New_Malloc(ret,PKCS7_ISSUER_AND_SERIAL);\n\tM_ASN1_New(ret->issuer,X509_NAME_new);\n\tM_ASN1_New(ret->serial,ASN1_INTEGER_new);\n\treturn(ret);\n\tM_ASN1_New_Error(ASN1_F_PKCS7_ISSUER_AND_SERIAL_NEW);\n\t}']