mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 00:40:06 +01:00
m-modem-manager: Unref WpCore
When getting the "core" property from a `WpObject`, a strong reference is
returned to the `WpCore` object. This has to be unref-d when not needed
anymore. `wp_modem_manager_enable()` fails to do so, so fix it.
Fixes: 2794764d5a ("m-modem-manager: add module for tracking status of voice calls")
This commit is contained in:
parent
a5538f4167
commit
3fb5b775ee
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ static void
|
|||
wp_modem_manager_enable (WpPlugin * self, WpTransition * transition)
|
||||
{
|
||||
WpModemManager *wpmm = WP_MODEM_MANAGER (self);
|
||||
WpCore *core;
|
||||
g_autoptr (WpCore) core = NULL;
|
||||
GError *err;
|
||||
g_autoptr (GDBusConnection) conn = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue