[Skiboot] [PATCH] core/interrupts: free interrupt names after adding to DT

Stewart Smith stewart at linux.vnet.ibm.com
Thu Feb 2 18:16:59 AEDT 2017


Fixes: 539487bae4b77
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 core/interrupts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/interrupts.c b/core/interrupts.c
index 91da6270d9bd..006d55584528 100644
--- a/core/interrupts.c
+++ b/core/interrupts.c
@@ -244,6 +244,7 @@ void add_opal_interrupts(void)
 	dt_add_property(opal_node, "opal-interrupts-names", names, tns);
 
 	free(irqs);
+	free(names);
 }
 
 /*
-- 
2.1.4



More information about the Skiboot mailing list