From: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> We usually don't free allocated memory because it's not known when the allocated objects aren't used anymore. But here it's pretty obvious, so free this symbol list. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- inline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/inline.c b/inline.c index 68f235c21945..a7ab73d37492 100644 --- a/inline.c +++ b/inline.c @@ -567,6 +567,7 @@ int inline_function(struct expression *expr, struct symbol *sym) stmt->inline_fn = sym; unset_replace_list(fn_symbol_list); + free_ptr_list(&fn_symbol_list); return 1; } -- 2.36.1