pidgin/pidgin

Correctly free parse tags at end of purple_html_to_xhtml.
release-2.x.y
2021-09-13, Elliott Sales de Andrade
c8e2ffe9b4d0
Correctly free parse tags at end of purple_html_to_xhtml.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34996

Testing Done:
Ran the test case from the bug against `fuzz_html_to_xhtml`

Reviewed at https://reviews.imfreedom.org/r/913/
/** @page cmd-signals Command Signals
@signals
@signal cmd-added
@signal cmd-removed
@endsignals
@see cmds.h
@signaldef cmd-added
@signalproto
void (*cmd_added)(const char *command, PurpleCmdPriority priority,
PurpleCmdFlag flag);
@endsignalproto
@signaldesc
Emitted when a new command is added.
@param command The new command.
@param priority The priority of the new command.
@param flag The command flags.
@endsignaldef
@signaldef cmd-removed
@signalproto
void (*cmd_removed)(const char *command);
@endsignalproto
@signaldesc
Emitted when a command is removed.
@param command The removed command.
@endsignaldef
*/