[Skiboot] [PATCH 05/13] hdata/hostservices: fix memory leak parsing mini dt

Stewart Smith stewart at linux.vnet.ibm.com
Wed Aug 23 17:21:15 AEST 2017


Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 hdata/hostservices.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hdata/hostservices.c b/hdata/hostservices.c
index d2fe9c4c71b7..bbd1816832e7 100644
--- a/hdata/hostservices.c
+++ b/hdata/hostservices.c
@@ -92,6 +92,7 @@ bool hservices_from_hdat(const void *fdt, size_t size)
 	}
 
 	hservice_parse_dt_tree(hservices);
+	dt_free(hservices);
 	return true;
 }
 
-- 
2.13.5



More information about the Skiboot mailing list