mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	pcm direct plugins - fix memory leak (sconf must be deleted)
This commit is contained in:
		
							parent
							
								
									1300e70573
								
							
						
					
					
						commit
						10cca7c03b
					
				
					 3 changed files with 3 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -898,8 +898,7 @@ int _snd_pcm_dshare_open(snd_pcm_t **pcmp, const char *name,
 | 
			
		|||
 | 
			
		||||
	err = snd_pcm_dshare_open(pcmp, name, &dopen, ¶ms,
 | 
			
		||||
				  root, sconf, stream, mode);
 | 
			
		||||
	if (err < 0)
 | 
			
		||||
		snd_config_delete(sconf);
 | 
			
		||||
	snd_config_delete(sconf);
 | 
			
		||||
	return err;
 | 
			
		||||
}
 | 
			
		||||
#ifndef DOC_HIDDEN
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue