mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-20 05:34:16 -04:00
Fix possible invalid read while attempting to load module-bluetooth-device.
This commit is contained in:
parent
9fd82c1964
commit
6ad65da869
1 changed files with 1 additions and 1 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_m = pa_module_load(u->module->core, "module-bluetooth-device", args);
|
||||||
pa_xfree(args);
|
pa_xfree(args);
|
||||||
|
|
||||||
if (!m) {
|
if (!pa_m) {
|
||||||
pa_log_debug("Failed to load module for device %s", d->object_path);
|
pa_log_debug("Failed to load module for device %s", d->object_path);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue