Blame SOURCES/0004-avahi-client-fix-resource-leak.patch

4cb3cb
From 374245ec1418e7e1e57120fcaf0a12ec695f5f6d Mon Sep 17 00:00:00 2001
4cb3cb
From: Michal Sekletar <msekleta@redhat.com>
4cb3cb
Date: Wed, 24 Oct 2018 15:22:19 +0000
4cb3cb
Subject: [PATCH] avahi-client: fix resource leak
4cb3cb
4cb3cb
---
4cb3cb
 avahi-client/browser.c | 2 ++
4cb3cb
 1 file changed, 2 insertions(+)
4cb3cb
4cb3cb
diff --git a/avahi-client/browser.c b/avahi-client/browser.c
4cb3cb
index c978d94..fa4a9a8 100644
4cb3cb
--- a/avahi-client/browser.c
4cb3cb
+++ b/avahi-client/browser.c
4cb3cb
@@ -72,6 +72,8 @@ static void parse_domain_file(AvahiDomainBrowser *b) {
4cb3cb
         if (avahi_normalize_name(buf, domain, sizeof(domain)))
4cb3cb
             b->static_browse_domains = avahi_string_list_add(b->static_browse_domains, domain);
4cb3cb
     }
4cb3cb
+
4cb3cb
+    fclose(f);
4cb3cb
 }
4cb3cb
 
4cb3cb
 static void domain_browser_ref(AvahiDomainBrowser *db) {
4cb3cb
-- 
4cb3cb
2.17.2
4cb3cb