mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Fix invalid free
Fixed the invalid free of memory.
This commit is contained in:
		
							parent
							
								
									73008debc3
								
							
						
					
					
						commit
						9dd4436f29
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -418,7 +418,6 @@ static int add_elem(snd_sctl_t *h, snd_config_t *_conf, snd_config_t *private_da
 | 
			
		|||
			}
 | 
			
		||||
			if ((err = snd_config_get_ctl_iface_ascii(ptr)) < 0) {
 | 
			
		||||
				SNDERR("Invalid value for '%s'", id);
 | 
			
		||||
				free(tmp);
 | 
			
		||||
				goto _err;
 | 
			
		||||
			}
 | 
			
		||||
			iface = err;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue