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


crypto/asn1/x_name.c:213:1: start of procedure X509_NAME_new()
211.   	}
212.   
213. > X509_NAME *X509_NAME_new(void)
214.   	{
215.   	X509_NAME *ret=NULL;

crypto/asn1/x_name.c:215:2: 
213.   X509_NAME *X509_NAME_new(void)
214.   	{
215. > 	X509_NAME *ret=NULL;
216.   	ASN1_CTX c;
217.   

crypto/asn1/x_name.c:218:2: Taking false branch
216.   	ASN1_CTX c;
217.   
218.   	M_ASN1_New_Malloc(ret,X509_NAME);
        ^
219.   	if ((ret->entries=sk_new(NULL)) == NULL)
220.   		{ c.line=__LINE__; goto err2; }

crypto/asn1/x_name.c:219:6: 
217.   
218.   	M_ASN1_New_Malloc(ret,X509_NAME);
219. > 	if ((ret->entries=sk_new(NULL)) == NULL)
220.   		{ c.line=__LINE__; goto err2; }
221.   	M_ASN1_New(ret->bytes,BUF_MEM_new);

crypto/stack/stack.c:112:1: start of procedure sk_new()
  110.   	}
  111.   
  112. > STACK *sk_new(int (*c)())
  113.   	{
  114.   	STACK *ret;

crypto/stack/stack.c:117:6: Taking true branch
  115.   	int i;
  116.   
  117.   	if ((ret=(STACK *)Malloc(sizeof(STACK))) == NULL)
              ^
  118.   		goto err0;
  119.   	if ((ret->data=(char **)Malloc(sizeof(char *)*MIN_NODES)) == NULL)

crypto/stack/stack.c:130:1: 
  128.   err1:
  129.   	Free((char *)ret);
  130. > err0:
  131.   	return(NULL);
  132.   	}

crypto/stack/stack.c:131:2: 
  129.   	Free((char *)ret);
  130.   err0:
  131. > 	return(NULL);
  132.   	}
  133.   

crypto/stack/stack.c:132:2: return from a call to sk_new
  130.   err0:
  131.   	return(NULL);
  132.   	}
          ^
  133.   
  134.   int sk_insert(STACK *st, char *data, int loc)

crypto/asn1/x_name.c:219:6: Taking true branch
217.   
218.   	M_ASN1_New_Malloc(ret,X509_NAME);
219.   	if ((ret->entries=sk_new(NULL)) == NULL)
            ^
220.   		{ c.line=__LINE__; goto err2; }
221.   	M_ASN1_New(ret->bytes,BUF_MEM_new);

crypto/asn1/x_name.c:220:5: 
218.   	M_ASN1_New_Malloc(ret,X509_NAME);
219.   	if ((ret->entries=sk_new(NULL)) == NULL)
220. > 		{ c.line=__LINE__; goto err2; }
221.   	M_ASN1_New(ret->bytes,BUF_MEM_new);
222.   	ret->modified=1;
