mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
stream: Fix a couple of format_info leaks
This commit is contained in:
parent
b161a7e073
commit
573b9d6ca8
1 changed files with 4 additions and 1 deletions
|
|
@ -303,7 +303,10 @@ static void stream_free(pa_stream *s) {
|
|||
pa_smoother_free(s->smoother);
|
||||
|
||||
for (i = 0; i < s->n_formats; i++)
|
||||
pa_xfree(s->req_formats[i]);
|
||||
pa_format_info_free(s->req_formats[i]);
|
||||
|
||||
if (s->format)
|
||||
pa_format_info_free(s->format);
|
||||
|
||||
pa_xfree(s->device_name);
|
||||
pa_xfree(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue