Em Thu, Jun 11, 2020 at 09:42:34AM +0800, Chen Wandun escreveu:
Fix potential memory leak in function parse_events_term__sym_hw()Try to fix one thing per patch, i.e. first the most obvious one, then
and parse_events_term__clone().
1. Free memory when errors occur.
2. Function new_term may return error, so it is need to free memory
when the return value is negative.
the other that requires going thru the new_term() logic, i.e. first
this, which is super easy to review:
Would you like to add the tag âFixesâ to the commit message?Hi, Arnaldo and Markus.