Issue #597 - Free the 'message' structure, in messageobj.c
This commit is contained in:
parent
d5ba3d8939
commit
eb81a53165
|
@ -256,6 +256,7 @@ void TY_(tidyMessageRelease)( TidyMessageImpl *message )
|
||||||
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messagePos );
|
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messagePos );
|
||||||
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messageOutputDefault );
|
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messageOutputDefault );
|
||||||
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messageOutput );
|
TidyDocFree( tidyDocToImpl(message->tidyDoc), message->messageOutput );
|
||||||
|
TidyDocFree(tidyDocToImpl(message->tidyDoc), message); /* Issue #597 - and discard the message structure */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue