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

Detected by cppcheck.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
This commit is contained in:
Thomas Jarosch 2011-10-03 05:22:27 +00:00 committed by Stephen Hemminger
parent a22e92951d
commit 2bcc3c1629

View File

@ -518,6 +518,7 @@ void init_service_resolver(void)
}
}
}
pclose(fp);
}
}