- memory leak fixed
authorJan Hutter <jhutter@hsr.ch>
Tue, 22 Nov 2005 12:36:27 +0000 (12:36 -0000)
committerJan Hutter <jhutter@hsr.ch>
Tue, 22 Nov 2005 12:36:27 +0000 (12:36 -0000)
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;
        }