mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 08:08:03 +02:00
endpoint: remove unneeded ref/unref
This commit is contained in:
parent
ded3106efc
commit
495a74d0e6
1 changed files with 0 additions and 2 deletions
|
|
@ -345,9 +345,7 @@ wp_endpoint_unregister (WpEndpoint * self)
|
|||
g_info ("WpEndpoint:%p unregistering '%s' (%s)", self, priv->name,
|
||||
priv->media_class);
|
||||
|
||||
g_object_ref (self);
|
||||
wp_core_remove_global (core, WP_GLOBAL_ENDPOINT, self);
|
||||
g_object_unref (self);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue