mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Clemens Ladisch <clemens@ladisch.de>
clear element count when freeing space in element list
This commit is contained in:
		
							parent
							
								
									87425aed82
								
							
						
					
					
						commit
						83bfda918e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -781,6 +781,7 @@ void snd_ctl_elem_list_free_space(snd_ctl_elem_list_t *obj)
 | 
			
		|||
{
 | 
			
		||||
	free(obj->pids);
 | 
			
		||||
	obj->pids = NULL;
 | 
			
		||||
	obj->space = 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue