mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
filter-chain: free plugin when load fails
This commit is contained in:
parent
6d492db948
commit
1b88e0023b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue