mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05: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
|
|
@ -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