mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
dbus-util: avoid double free
This commit is contained in:
parent
205b0ba08e
commit
7d16dcb6cc
1 changed files with 1 additions and 2 deletions
|
|
@ -403,8 +403,7 @@ void pa_dbus_pending_free(pa_dbus_pending *p) {
|
|||
pa_assert(p);
|
||||
|
||||
if (p->pending) {
|
||||
dbus_pending_call_cancel(p->pending);
|
||||
dbus_pending_call_unref(p->pending);
|
||||
dbus_pending_call_cancel(p->pending); /* p->pending is freed by cancel() */
|
||||
}
|
||||
|
||||
if (p->message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue