Fix leak in `purple_markup_find_tag` on error

Review Request #924 — Created Sept. 14, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y

Reviewers

The output is set to NULL, but the internal data list is not freed if it happened to get something put into it.

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

Ran pidgin_utils_fuzzer on the test case in the bug report.

Commits

Files