Fix leak in `purple_markup_find_tag` on error

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

QuLogic
pidgin/pidgin
release-2.x.y
pidgin

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.

Summary
Fix leak in `purple_markup_find_tag` on error
QuLogic
grim
  1. Ship It!
  2. 
      
grim
grim
Review request changed

Status: Closed (submitted)

Loading...