From dcd4a73df94b0e9083f72d79f81083961bd15746 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 10 Apr 2009 01:18:04 +0200 Subject: dbus: memory leak, actually free dbus wrapper --- src/pulsecore/dbus-shared.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); } -- cgit