Fix SoupMessage leaks when using new libsoup3 API

Review Request #2017 — Created Nov. 4, 2022 and submitted

QuLogic
pidgin/pidgin
default
pidgin

The new API takes a ref, not ownership, of the sent message, so we need to unref our copy.

The compatibility layer for libsoup2 similarly also takes a ref, so this is also leaking on libsoup2 now.

Also fix an incorrect data parameter in the gnttinyurl plugin (all the rest of the code was already changed expecting msg as the callback data.)

Compile only.

Summary
Fix SoupMessage leaks when using new libsoup3 API
grim
  1. Ship It!
  2. Nice work, thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...