diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-05-01 04:12:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-05-01 04:12:45 +0200 |
commit | 947bf5de6c7eaa1edc701f3f959dc16e091082dc (patch) | |
tree | 3582ed36d116a113eab342def8e857d04a83ce87 | |
parent | d4b10d838a79a46f18876dbb4a3206b5e1c7bc09 (diff) |
zeroconf: properly unref native protocol object
-rw-r--r-- | src/modules/module-zeroconf-publish.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/module-zeroconf-publish.c b/src/modules/module-zeroconf-publish.c index 4f382c80..d72d2647 100644 --- a/src/modules/module-zeroconf-publish.c +++ b/src/modules/module-zeroconf-publish.c @@ -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); } |