mirror of
				https://git.kernel.org/pub/scm/network/wireless/iwd.git
				synced 2025-11-04 08:57:29 +01:00 
			
		
		
		
	client: fix leaks
This commit is contained in:
		
							parent
							
								
									b36dd5203e
								
							
						
					
					
						commit
						1fed159f4a
					
				@ -553,6 +553,8 @@ static void interfaces_removed_callback(struct l_dbus_message *message,
 | 
			
		||||
		proxy_interface_unbind_dependencies(proxy);
 | 
			
		||||
 | 
			
		||||
		l_queue_remove(proxy_interfaces, proxy);
 | 
			
		||||
 | 
			
		||||
		proxy_interface_destroy(proxy);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -376,7 +376,8 @@ static void disconnect_callback(struct l_io *io, void *user_data)
 | 
			
		||||
 | 
			
		||||
void display_enable_cmd_prompt(void)
 | 
			
		||||
{
 | 
			
		||||
	io = l_io_new(fileno(stdin));
 | 
			
		||||
	if (!io)
 | 
			
		||||
		io = l_io_new(fileno(stdin));
 | 
			
		||||
 | 
			
		||||
	l_io_set_read_handler(io, read_handler, NULL, NULL);
 | 
			
		||||
	l_io_set_disconnect_handler(io, disconnect_callback, NULL, NULL);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user