mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Add a missing pa_xfree.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2094 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
4e771768e3
commit
1e74aa977e
1 changed files with 2 additions and 0 deletions
|
|
@ -472,6 +472,8 @@ int pa__init(pa_module*m) {
|
||||||
|
|
||||||
if (p > n_control || k) {
|
if (p > n_control || k) {
|
||||||
pa_log("Too many control values passed, %lu expected.", n_control);
|
pa_log("Too many control values passed, %lu expected.", n_control);
|
||||||
|
if (k)
|
||||||
|
pa_xfree(k);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue