Don't remove IETF standard errors while parsing IMC/IMV messages
[strongswan.git] / src / libimcv / pa_tnc / pa_tnc_msg.c
index 3982382..63445f3 100644 (file)
@@ -388,10 +388,6 @@ METHOD(pa_tnc_msg_t, process_ietf_std_errors, bool,
                                default:
                                        break;
                        }
-
-                       /* remove and delete the processed IETF standard error attribute */
-                       this->attributes->remove_at(this->attributes, enumerator);
-                       attr->destroy(attr);
                        fatal_error = TRUE;
                }
        }