Re: [PATCH v2 1/2] perf tools: Fix potential memory leaks in perf events parser

From: Chen Wandun
Date: Sat Jun 13 2020 - 23:39:50 EST



å 2020/6/12 2:50, Markus Elfring åé:
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.

Thank you for your reply, I will update in v3

Best Regards,

ÂÂÂ Chen Wandun



Regards,
Markus