mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	udev: don't forget to unref devices we are not interested in
https://bugzilla.redhat.com/show_bug.cgi?id=552932
This commit is contained in:
		
							parent
							
								
									9ac12b7048
								
							
						
					
					
						commit
						66ddeede9e
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -416,8 +416,10 @@ static void monitor_cb(
 | 
			
		|||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (!path_get_card_id(udev_device_get_devpath(dev)))
 | 
			
		||||
    if (!path_get_card_id(udev_device_get_devpath(dev))) {
 | 
			
		||||
        udev_device_unref(dev);
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    process_device(u, dev);
 | 
			
		||||
    udev_device_unref(dev);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue