mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Fix loading module-bluetooth-device with an invalid parameter.
This commit is contained in:
		
							parent
							
								
									0c998b0891
								
							
						
					
					
						commit
						fef63d77b4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -332,7 +332,7 @@ static void load_module_for_device(struct userdata *u, struct device *d, const c
 | 
				
			||||||
    pa_assert(d);
 | 
					    pa_assert(d);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    get_device_properties(u, d);
 | 
					    get_device_properties(u, d);
 | 
				
			||||||
    args = pa_sprintf_malloc("sink_name=%s address=%s profile=%s", d->name, d->address, profile);
 | 
					    args = pa_sprintf_malloc("sink_name=\"%s\" address=\"%s\" profile=\"%s\"", d->name, d->address, profile);
 | 
				
			||||||
    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);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue