mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	conf: fix return code in _snd_config_load_with_include
Fixes: 5275d170e0 ("conf: fix use after free in _snd_config_load_with_include")
BugLink: https://github.com/alsa-project/alsa-lib/issues/108
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
			
			
This commit is contained in:
		
							parent
							
								
									a92ad2fea4
								
							
						
					
					
						commit
						6c24cd2e60
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -1977,6 +1977,7 @@ int _snd_config_load_with_include(snd_config_t *config, snd_input_t *in,
 | 
				
			||||||
		err = -EINVAL;
 | 
							err = -EINVAL;
 | 
				
			||||||
		goto _end;
 | 
							goto _end;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						err = 0;
 | 
				
			||||||
 _end:
 | 
					 _end:
 | 
				
			||||||
	while (fd->next) {
 | 
						while (fd->next) {
 | 
				
			||||||
		fd_next = fd->next;
 | 
							fd_next = fd->next;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue