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:
Tanu Kaskinen 2016-09-05 18:57:17 +03:00
parent de2f560137
commit c73bbee878

View file

@ -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