mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Added initialization of destination
This commit is contained in:
		
							parent
							
								
									10f3957571
								
							
						
					
					
						commit
						5912f56e53
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -590,6 +590,7 @@ int snd_sctl_build(snd_sctl_t **sctl, snd_ctl_t *handle, snd_config_t *conf, snd
 | 
			
		|||
	assert(sctl);
 | 
			
		||||
	assert(handle);
 | 
			
		||||
	assert(conf);
 | 
			
		||||
	*sctl = NULL;
 | 
			
		||||
	if (snd_config_get_type(conf) != SND_CONFIG_TYPE_COMPOUND)
 | 
			
		||||
		return -EINVAL;
 | 
			
		||||
	h = calloc(1, sizeof(*h));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue