mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-19 16:01:45 +00:00
filter-chain: free plugin when load fails
This commit is contained in:
parent
6d492db948
commit
1b88e0023b
|
@ -221,6 +221,7 @@ static struct fc_plugin *ladspa_handle_load_by_path(const char *path)
|
|||
exit:
|
||||
if (p->handle)
|
||||
dlclose(p->handle);
|
||||
free(p);
|
||||
errno = -res;
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue