tools lib traceevent: Small fixes on error handling path
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools lib traceevent: Fix error path on process_array()tools/ | +1 | 1 reply | |
| 2/4 | tools lib traceevent: Make sure that arg->op.right is set properlytools/ | +3 | 1 reply | |
| 3/4 | tools lib traceevent: Free field if an error occurs on process_fieldstools/ | +7 | 1 reply | |
| 4/4 | tools lib traceevent: Free field if an error occurs on process_flags/symbolstools/ | +8 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] tools lib traceevent: Small fixes on error handling path
Hi,
During a review on Arnaldo's libtraceevent cleanup patches, I've found some possible memory leaks and a dangling pointer problem. Please take a look at them too.
Thanks,
Namhyung
Namhyung Kim (4):
tools lib traceevent: Fix error path on process_array()
tools lib traceevent: Make sure that arg->op.right is set properly tools lib traceevent: Free field if an error occurs on process_fields tools lib traceevent: Free field if an error occurs on process_flags/symbols
tools/lib/traceevent/event-parse.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-)
Signature · 1 line
1.7.11.4