Skip to content
Snippets Groups Projects
Commit 495a74d0 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

endpoint: remove unneeded ref/unref

parent ded3106e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment