mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fixed linked variable reset
This commit is contained in:
		
							parent
							
								
									54bfcb69d8
								
							
						
					
					
						commit
						2879321023
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -299,6 +299,7 @@ static int snd_pcm_multi_hw_free(snd_pcm_t *pcm)
 | 
				
			||||||
			err = e;
 | 
								err = e;
 | 
				
			||||||
		if (!multi->slaves[i].linked)
 | 
							if (!multi->slaves[i].linked)
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
 | 
							multi->slaves[i].linked = 0;
 | 
				
			||||||
		e = snd_pcm_unlink(slave);
 | 
							e = snd_pcm_unlink(slave);
 | 
				
			||||||
		if (e < 0)
 | 
							if (e < 0)
 | 
				
			||||||
			err = e;
 | 
								err = e;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue