mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: fix lookup of module
This commit is contained in:
		
							parent
							
								
									6235c8c0f2
								
							
						
					
					
						commit
						3b20e0f9e7
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -4444,8 +4444,7 @@ static int do_unload_module(struct client *client, uint32_t command, uint32_t ta
 | 
				
			||||||
		if (module->idx == module_idx)
 | 
							if (module->idx == module_idx)
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						if (spa_list_is_end(module, &client->modules, link))
 | 
				
			||||||
	if (module == NULL)
 | 
					 | 
				
			||||||
		return -ENOENT;
 | 
							return -ENOENT;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	unload_module(module);
 | 
						unload_module(module);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue