summaryrefslogtreecommitdiff
path: root/src/modules/module-zeroconf-publish.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/module-zeroconf-publish.c')
-rw-r--r--src/modules/module-zeroconf-publish.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/module-zeroconf-publish.c b/src/modules/module-zeroconf-publish.c
index c101b818d..0d908409e 100644
--- a/src/modules/module-zeroconf-publish.c
+++ b/src/modules/module-zeroconf-publish.c
@@ -722,6 +722,9 @@ out:
if (msg)
dbus_message_unref(msg);
+ if (bus)
+ pa_dbus_connection_unref(bus);
+
return icon_name;
}
#endif