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


crypto/asn1/p7_i_s.c:97:1: start of procedure PKCS7_ISSUER_AND_SERIAL_new()
95.   	}
96.   
97. > PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void)
98.   	{
99.   	PKCS7_ISSUER_AND_SERIAL *ret=NULL;

crypto/asn1/p7_i_s.c:99:2: 
97.   PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void)
98.   	{
99. > 	PKCS7_ISSUER_AND_SERIAL *ret=NULL;
100.   	ASN1_CTX c;
101.   

crypto/asn1/p7_i_s.c:102:2: Taking false branch
100.   	ASN1_CTX c;
101.   
102.   	M_ASN1_New_Malloc(ret,PKCS7_ISSUER_AND_SERIAL);
        ^
103.   	M_ASN1_New(ret->issuer,X509_NAME_new);
104.   	M_ASN1_New(ret->serial,ASN1_INTEGER_new);

crypto/asn1/p7_i_s.c:103:2: Taking true branch
101.   
102.   	M_ASN1_New_Malloc(ret,PKCS7_ISSUER_AND_SERIAL);
103.   	M_ASN1_New(ret->issuer,X509_NAME_new);
        ^
104.   	M_ASN1_New(ret->serial,ASN1_INTEGER_new);
105.   	return(ret);
