[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bef30d4b-8d43-4595-ac11-53526723ea34@web.de>
Date: Fri, 3 Jan 2025 12:56:32 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Masahiro Yamada <masahiroy@...nel.org>, linux-kbuild@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>, Andreas Grünbacher
<agruen@...e.de>, Andrew Morton <akpm@...ux-foundation.org>,
Sam Ravnborg <sam@...nborg.org>
Subject: Re: [PATCH 1/6] genksyms: fix memory leak when the same symbol is
added from source
…
> +++ b/scripts/genksyms/genksyms.c
> @@ -239,6 +239,7 @@ static struct symbol *__add_symbol(const char *name, enum symbol_type type,
> "unchanged\n");
> }
> sym->is_declared = 1;
> + free_list(defn, NULL);
> return sym;
> } else if (!sym->is_declared) {
> if (sym->is_override && flag_preserve) {
…
Would you like to complete the data processing by using a corresponding goto chain?
Regards,
Markus
Powered by blists - more mailing lists