mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
zeroconf: properly unref native protocol object
This commit is contained in:
parent
d4b10d838a
commit
947bf5de6c
1 changed files with 3 additions and 0 deletions
|
|
@ -695,6 +695,9 @@ void pa__done(pa_module*m) {
|
||||||
if (u->avahi_poll)
|
if (u->avahi_poll)
|
||||||
pa_avahi_poll_free(u->avahi_poll);
|
pa_avahi_poll_free(u->avahi_poll);
|
||||||
|
|
||||||
|
if (u->native)
|
||||||
|
pa_native_protocol_unref(u->native);
|
||||||
|
|
||||||
pa_xfree(u->service_name);
|
pa_xfree(u->service_name);
|
||||||
pa_xfree(u);
|
pa_xfree(u);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue