summaryrefslogtreecommitdiff
path: root/src/pulsecore/dbus-shared.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-10 01:18:04 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-10 01:18:04 +0200
commitdcd4a73df94b0e9083f72d79f81083961bd15746 (patch)
tree49197e536ba7f5703afd6b4ed8ca091e224a310b /src/pulsecore/dbus-shared.c
parentd827ecd28d87eedaa9eb50020504fe789c7800c8 (diff)
downloadpulseaudio-dcd4a73df94b0e9083f72d79f81083961bd15746.tar.gz
dbus: memory leak, actually free dbus wrapper
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 f01ec2cb6..9d9445b63 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);
}