mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Fix memory leak in waveout module.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1323 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
0249651c8e
commit
306aea78d3
1 changed files with 3 additions and 0 deletions
|
|
@ -611,6 +611,9 @@ void pa__done(pa_core *c, pa_module*m) {
|
|||
|
||||
if (!(u = m->userdata))
|
||||
return;
|
||||
|
||||
if (u->silence.memblock)
|
||||
pa_memblock_unref(u->silence.memblock);
|
||||
|
||||
if (u->event)
|
||||
c->mainloop->time_free(u->event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue