mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-21 06:46:38 -04:00
Fix segfault in load_spa_handle
This commit is contained in:
parent
5075f27ea0
commit
7e680ee59c
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ static struct spa_handle *load_spa_handle(const char *lib,
|
||||||
if (lib == NULL)
|
if (lib == NULL)
|
||||||
lib = sup->support_lib;
|
lib = sup->support_lib;
|
||||||
|
|
||||||
while ((p = strstr(lib, "../")) != NULL)
|
while (lib != NULL && (p = strstr(lib, "../")) != NULL)
|
||||||
lib = p + 3;
|
lib = p + 3;
|
||||||
|
|
||||||
pw_log_debug("load lib:'%s' factory-name:'%s'", lib, factory_name);
|
pw_log_debug("load lib:'%s' factory-name:'%s'", lib, factory_name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue