mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pipewire: impl-core: actually return created object
Actually return the pointer to the created object from `impl-core.c:core_create_object()` instead of returning a NULL pointer. This has not caused issues because the return value is not checked anywhere.
This commit is contained in:
parent
2865e40618
commit
e09b97edc4
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ core_create_object(void *object,
|
|||
if (obj == NULL)
|
||||
goto error_create_failed;
|
||||
|
||||
return 0;
|
||||
return obj;
|
||||
|
||||
error_no_factory:
|
||||
res = -ENOENT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue