mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	zeroconf-publish: unref D-Bus connection
pa_dbus_bus_get() increments the bus connection refcount, but unreffing the connection was never done.
This commit is contained in:
		
							parent
							
								
									de2f560137
								
							
						
					
					
						commit
						c73bbee878
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -722,6 +722,9 @@ out:
 | 
				
			||||||
    if (msg)
 | 
					    if (msg)
 | 
				
			||||||
        dbus_message_unref(msg);
 | 
					        dbus_message_unref(msg);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (bus)
 | 
				
			||||||
 | 
					        pa_dbus_connection_unref(bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return icon_name;
 | 
					    return icon_name;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue