mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
padsp: Fix a double-free bug.
This commit is contained in:
parent
bce720c85d
commit
c2c5e044cc
1 changed files with 1 additions and 0 deletions
|
|
@ -1444,6 +1444,7 @@ static int sndstat_open(int flags, int *_errno) {
|
|||
|
||||
unlink(fn);
|
||||
pa_xfree(fn);
|
||||
fn = NULL;
|
||||
|
||||
if (write(fd, sndstat, sizeof(sndstat) -1) != sizeof(sndstat)-1) {
|
||||
*_errno = errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue