mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Fix possible invalid read while attempting to load module-bluetooth-device.
This commit is contained in:
parent
8e3e88df8b
commit
931cbd19f2
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ load-module module-native-protocol-unix
|
|||
#load-module module-rtp-send source=rtp.monitor
|
||||
|
||||
### Enable flat volumes where possible
|
||||
load-module module-flat-volumes
|
||||
load-module module-flat-volume
|
||||
|
||||
### Automatically restore the volume of streams and devices
|
||||
load-module module-device-restore
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ static void load_module_for_device(struct userdata *u, struct device *d, const c
|
|||
pa_m = pa_module_load(u->module->core, "module-bluetooth-device", args);
|
||||
pa_xfree(args);
|
||||
|
||||
if (!m) {
|
||||
if (!pa_m) {
|
||||
pa_log_debug("Failed to load module for device %s", d->object_path);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue