Skip to contentSkip to conversation

Fix pipe I/O stream descriptor leak in init_service_resolver()

PATCH In review Thomas Jarosch 1 participant 1 message Oct 3, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/11 Fix pipe I/O stream descriptor leak in init_service_resolver()

Detected by cppcheck.

---
 misc/ss.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
misc/ss.c +1 -0
index 1597ff9..f62d371 100644
@@ -518,6 +518,7 @@ void init_service_resolver(void)
 				}
 			}
 		}
+		pclose(fp);
 	}
 }
 
Signature · 1 line
1.7.4.4