*** empty log message ***

diff --git a/libasn1fix/check_fixer.c b/libasn1fix/check_fixer.c
index c4e3f99..a35b4a3 100644
--- a/libasn1fix/check_fixer.c
+++ b/libasn1fix/check_fixer.c
@@ -189,7 +189,7 @@
 				mod->_tags |= MT_STANDARD_MODULE;
 				TQ_ADD(&(asn->modules), mod, mod_next);
 			}
-			asn1p_free(std_asn);
+			asn1p_delete(std_asn);
 		}
 	}
 
@@ -236,7 +236,7 @@
 	/*
 	 * Destroy the asn.
 	 */
-	asn1p_free(asn);
+	asn1p_delete(asn);
 
 	return r_value;
 }