mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	client-node: clear array fields
This commit is contained in:
		
							parent
							
								
									660d77cff0
								
							
						
					
					
						commit
						2a11e66417
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -527,6 +527,7 @@ clear_port(struct node *this, struct port *port)
 | 
				
			||||||
	pw_array_for_each(mix, &port->mix)
 | 
						pw_array_for_each(mix, &port->mix)
 | 
				
			||||||
		mix_clear(this, mix);
 | 
							mix_clear(this, mix);
 | 
				
			||||||
	pw_array_clear(&port->mix);
 | 
						pw_array_clear(&port->mix);
 | 
				
			||||||
 | 
						pw_array_init(&port->mix, sizeof(struct mix) * 2);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (port->direction == SPA_DIRECTION_INPUT) {
 | 
						if (port->direction == SPA_DIRECTION_INPUT) {
 | 
				
			||||||
		if (this->in_ports[port->id] == port) {
 | 
							if (this->in_ports[port->id] == port) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue