mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
dbus: memory leak, actually free dbus wrapper
This commit is contained in:
parent
d827ecd28d
commit
dcd4a73df9
1 changed files with 2 additions and 1 deletions
|
|
@ -91,7 +91,8 @@ void pa_dbus_connection_unref(pa_dbus_connection *c) {
|
||||||
if (PA_REFCNT_DEC(c) > 0)
|
if (PA_REFCNT_DEC(c) > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* already disconnected, just free */
|
pa_dbus_wrap_connection_free(c->connection);
|
||||||
|
|
||||||
pa_shared_remove(c->core, c->property_name);
|
pa_shared_remove(c->core, c->property_name);
|
||||||
pa_xfree(c);
|
pa_xfree(c);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue