Don't check pointer we just freed, always set it to NULL.
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> MR #1231
This commit is contained in:
		@@ -249,6 +249,5 @@ void asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
 | 
				
			|||||||
        ASN1_STRING_free((ASN1_STRING *)*pval);
 | 
					        ASN1_STRING_free((ASN1_STRING *)*pval);
 | 
				
			||||||
        break;
 | 
					        break;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (*pval)
 | 
					    *pval = NULL;
 | 
				
			||||||
        *pval = NULL;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user