mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	card-restore: prevent segfault caused by 'restore_bluetooth_profile=true'
This fixes an oversight introduced in 1f45082c which ultimately causes a segfault error in 'add_key_value()' from 'modargs.c'.
Closes #773.
			
			
This commit is contained in:
		
							parent
							
								
									e6779ad229
								
							
						
					
					
						commit
						b94dba9daf
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -55,7 +55,8 @@ PA_MODULE_USAGE(
 | 
			
		|||
#define SAVE_INTERVAL (10 * PA_USEC_PER_SEC)
 | 
			
		||||
 | 
			
		||||
static const char* const valid_modargs[] = {
 | 
			
		||||
    "restore_bluetooth_profile=<boolean>"
 | 
			
		||||
    "restore_bluetooth_profile",
 | 
			
		||||
    NULL
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct userdata {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue