mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Fix bug walking on module list.
This commit is contained in:
		
							parent
							
								
									82f09b6d8f
								
							
						
					
					
						commit
						dcd498c5ad
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -94,7 +94,7 @@ static void module_free(struct module *m) {
 | 
			
		|||
static struct module* module_find(struct device *d, const char *profile) {
 | 
			
		||||
    struct module *m;
 | 
			
		||||
 | 
			
		||||
    for (m = d->module_list; d; d = d->next)
 | 
			
		||||
    for (m = d->module_list; m; m = m->next)
 | 
			
		||||
        if (pa_streq(m->profile, profile))
 | 
			
		||||
            return m;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue