Issue #597 - Free the 'message' structure, in messageobj.c

This commit is contained in:
Geoff McLane 2017-09-18 19:46:46 +02:00
parent d5ba3d8939
commit eb81a53165

View file

@ -256,6 +256,7 @@ void TY_(tidyMessageRelease)( TidyMessageImpl *message )
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messagePos );
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messageOutputDefault );
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messageOutput );
TidyDocFree(tidyDocToImpl(message->tidyDoc), message); /* Issue #597 - and discard the message structure */
}