From 75d76b408c17aab1dfa0aea490c30ec674eef311 Mon Sep 17 00:00:00 2001
From: Lev Walkin <vlm@lionet.info>
Date: Wed, 13 Apr 2005 13:20:20 +0000
Subject: [PATCH] don't free for now

---
 libasn1fix/asn1fix_constr.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/libasn1fix/asn1fix_constr.c b/libasn1fix/asn1fix_constr.c
index 794845b7..e16c9e04 100644
--- a/libasn1fix/asn1fix_constr.c
+++ b/libasn1fix/asn1fix_constr.c
@@ -62,7 +62,11 @@ asn1f_pull_components_of(arg_t *arg) {
 		coft = asn1p_expr_clone(terminal, 1 /* Skip extensions */);
 		if(!coft) return -1;	/* ENOMEM */
 
-		asn1p_expr_free(memb);	/* Don't need it anymore*/
+		if(0) {
+			asn1p_expr_free(memb);	/* Don't need it anymore*/
+		} else {
+			/* Actual removal clashes with constraints... skip. */
+		}
 
 		/*
 		 * Move all components of the cloned structure
-- 
GitLab