mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
don't try to unref reserve stuff if we don't use it
This commit is contained in:
parent
025107876c
commit
99dae9b1af
1 changed files with 2 additions and 1 deletions
|
|
@ -351,7 +351,8 @@ int pa__init(pa_module *m) {
|
|||
|
||||
init_profile(u);
|
||||
|
||||
pa_reserve_wrapper_unref(reserve);
|
||||
if (reserve)
|
||||
pa_reserve_wrapper_unref(reserve);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue