Fix leaks of plugin actions

Review Request #3023 — Created March 12, 2024 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

All action groups and action menus leak because the plugin info is created, directly returned, and nothing owns them any more.
Instead, steal the reference in the plugin info setters, so that they are owned by it.

Then clean up a bunch of additional refs that aren't needed.

Ran in valgrind, and no longer saw leaks from notification-sound.c.
Also enabled and disabled that plugin and saw no errors.

Commits

Files

    Loading...