Commit 8314146a authored by Pascal Cuoq's avatar Pascal Cuoq Committed by Kurt Roeckx
Browse files

Don't check pointer we just freed, always set it to NULL.



Signed-off-by: default avatarKurt Roeckx <kurt@roeckx.be>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
MR #1231
parent c804d23d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -249,6 +249,5 @@ void asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it)
        ASN1_STRING_free((ASN1_STRING *)*pval);
        break;
    }
    if (*pval)
    *pval = NULL;
}