[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51efcf82-4c0c-70d3-9700-6969e6decde1@web.de>
Date: Thu, 11 Jun 2020 20:50:58 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Cheng Jian <cj.chengjian@...wei.com>,
Chen Wandun <chenwandun@...wei.com>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH v2 1/2] perf tools: Fix potential memory leaks in perf
events parser
> Fix memory leak of in function parse_events_term__sym_hw()
> and parse_events_term__clone() when error occur.
How do you think about a wording variant like the following?
Release a configuration object after a string duplication failed.
Regards,
Markus
Powered by blists - more mailing lists