mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 01:41:10 +02:00
factory: don't use smart pointer when creating a factory
This commit is contained in:
parent
92dc9d5cdf
commit
2fd0f63118
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ wp_factory_class_init (WpFactoryClass * klass)
|
|||
WpFactory *
|
||||
wp_factory_new (WpCore * core, const gchar * name, WpFactoryFunc func)
|
||||
{
|
||||
g_autoptr (WpFactory) f = NULL;
|
||||
WpFactory *f = NULL;
|
||||
|
||||
g_return_val_if_fail (name != NULL && *name != '\0', NULL);
|
||||
g_return_val_if_fail (func != NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue