mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
modules: fix some small memory leaks
This commit is contained in:
parent
1778f76c78
commit
9315bbdfe5
2 changed files with 4 additions and 1 deletions
|
|
@ -343,8 +343,10 @@ int pa__init(pa_module*m) {
|
|||
|
||||
if (!format) {
|
||||
pa_log(_("Failed to set format: invalid format string %s"), f);
|
||||
pa_xfree(f);
|
||||
goto fail;
|
||||
}
|
||||
pa_xfree(f);
|
||||
|
||||
pa_idxset_put(u->formats, format, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue