Subject: [iproute2 PATCH 01/11] Fix pipe I/O stream descriptor leak in init_service_resolver()

From: Thomas Jarosch <[email-masked]>
Date: Mon, 03 Oct 2011 17:22:27 +0200

Detected by cppcheck.

Signed-off-by: Thomas Jarosch <[email-masked]>
---
 misc/ss.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/misc/ss.c b/misc/ss.c
index 1597ff9..f62d371 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -518,6 +518,7 @@ void init_service_resolver(void)
 				}
 			}
 		}
+		pclose(fp);
 	}
 }
 
-- 
1.7.4.4