diff --git a/libasn1fix/check_fixer.c b/libasn1fix/check_fixer.c index a35b4a31..51e5bbf0 100644 --- a/libasn1fix/check_fixer.c +++ b/libasn1fix/check_fixer.c @@ -236,7 +236,9 @@ check(const char *fname, /* * Destroy the asn. */ +#ifdef CLEAN_EVERYTHING asn1p_delete(asn); +#endif return r_value; }