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

From: Markus Elfring
Date: Mon Jun 15 2020 - 04:54:37 EST


> Fix potential memory leak. Function new_term may return error, so
> it is need to free memory when the return value is negative.

I hope that a typo will be avoided for the final commit message.
Would you find any other description variant more pleasing?

Regards,
Markus