mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Fix double free in rate plugin
Fixed double free in rate plugin (bug#1937).
This commit is contained in:
parent
63207b3ad6
commit
8e6ac040a6
1 changed files with 1 additions and 0 deletions
|
|
@ -619,6 +619,7 @@ static int snd_pcm_rate_hw_free(snd_pcm_t *pcm)
|
|||
rate->sareas = NULL;
|
||||
}
|
||||
free(rate->old_sample);
|
||||
rate->old_sample = NULL;
|
||||
return snd_pcm_hw_free(rate->gen.slave);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue