Fix SoupMessage leaks when using new libsoup3 API

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

Information

pidgin/pidgin
default

Reviewers

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 ID
Fix SoupMessage leaks when using new libsoup3 API
0dc755e9cd86355a40610808f3ecf098461bc4d5
grim
  1. Ship It!
  2. Nice work, thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...