summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/dbus-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/dbus-shared.c')
-rw-r--r--src/pulsecore/dbus-shared.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/dbus-shared.c b/src/pulsecore/dbus-shared.c
index f01ec2cb..9d9445b6 100644
--- a/src/pulsecore/dbus-shared.c
+++ b/src/pulsecore/dbus-shared.c
@@ -91,7 +91,8 @@ void pa_dbus_connection_unref(pa_dbus_connection *c) {
if (PA_REFCNT_DEC(c) > 0)
return;
- /* already disconnected, just free */
+ pa_dbus_wrap_connection_free(c->connection);
+
pa_shared_remove(c->core, c->property_name);
pa_xfree(c);
}