zeroconf: properly unref native protocol object

This commit is contained in:
Lennart Poettering 2009-05-01 04:12:45 +02:00
parent d4b10d838a
commit 947bf5de6c

View file

@ -695,6 +695,9 @@ void pa__done(pa_module*m) {
if (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);
}