From 93de55227583a149a375f529f3fafafae7c2c3bb Mon Sep 17 00:00:00 2001 From: Wei Li Date: Fri, 23 Dec 2022 17:02:53 +0800 Subject: [PATCH] fix memory leak in wide area lookup --- avahi-core/wide-area.c | 1 + 1 file changed, 1 insertion(+) diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c index d5e64e5..971f5e7 100644 --- a/avahi-core/wide-area.c +++ b/avahi-core/wide-area.c @@ -564,6 +564,7 @@ static void socket_event(AVAHI_GCC_UNUSED AvahiWatch *w, int fd, AVAHI_GCC_UNUSE if (p) { handle_packet(e, p); avahi_dns_packet_free(p); + avahi_cleanup_dead_entries(e->server); } } -- 2.45.2