[PATCH skeleton v10 03/22] fix info memory leak
OpenBMC Patches
openbmc-patches at stwcx.xyz
Wed May 11 13:20:33 AEST 2016
From: Ken <ken1029 at gmail.com>
---
objects/info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/objects/info.c b/objects/info.c
index ab2d98c..76c17d9 100644
--- a/objects/info.c
+++ b/objects/info.c
@@ -145,7 +145,7 @@ int get_hdd_status(void)
g_read_tmp[2]=g_read_bytes[2];
g_read_tmp[3]=g_read_bytes[3];
-
+ close(fd);
}
int send_esel_to_dbus(const char *desc, const char *sev, const char *details, uint8_t *debug, size_t debuglen) {
--
2.8.1
More information about the openbmc
mailing list