- memory leak fixed
[strongswan.git] / Source / charon / message.c
index a97d182..243a4e6 100644 (file)
@@ -575,6 +575,7 @@ static status_t parse_header(private_message_t *this)
        if (status != SUCCESS)
        {
                this->logger->log(this->logger, ERROR, "Header verification failed");
+               ike_header->destroy(ike_header);
                return status;
        }