mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Fix segfault with dshare plugin
Fixed the segfault with dshare plugin at the second open.
This commit is contained in:
parent
fc7bd60f0d
commit
4632e0f637
1 changed files with 0 additions and 1 deletions
|
|
@ -706,7 +706,6 @@ int snd_pcm_dshare_open(snd_pcm_t **pcmp, const char *name,
|
|||
|
||||
snd_pcm_direct_semaphore_down(dshare, DIRECT_IPC_SEM_CLIENT);
|
||||
ret = snd_pcm_direct_open_secondary_client(&spcm, dshare, "dshare_client");
|
||||
ret = snd_pcm_hw_open_fd(&spcm, "dshare_client", dshare->hw_fd, 0, 0);
|
||||
if (ret < 0)
|
||||
goto _err;
|
||||
dshare->spcm = spcm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue