In article <52cec8b6@gmx.de>,
Ralf Junker wrote:
> If an unsupported encoding is passed to hubbub_parser_create(),
> libparserutils/src/input/inputstream.c will cause a memory leak because
> is does not free allocated objects before returning.
Thanks for spotting that. Fixed on master.
If an unsupported encoding is passed to hubbub_parser_create(),
libparserutils/src/input/inputstream.c will cause a memory leak because is does
not free allocated objects before returning.
Here is a proposed fix, I hope you find the context in
parserutils_inputstream_create():
if (enc