public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] tools lib traceevent: Small fixes on error handling path
@ 2012-09-19  6:58 Namhyung Kim
  2012-09-19  6:58 ` [PATCH 1/4] tools lib traceevent: Fix error path on process_array() Namhyung Kim
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Namhyung Kim @ 2012-09-19  6:58 UTC (permalink / raw)
  To: Steven Rostedt, Arnaldo Carvalho de Melo
  Cc: Frederic Weisbecker, Peter Zijlstra, Ingo Molnar, LKML

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(-)

-- 
1.7.11.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-27  5:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19  6:58 [PATCH 0/4] tools lib traceevent: Small fixes on error handling path Namhyung Kim
2012-09-19  6:58 ` [PATCH 1/4] tools lib traceevent: Fix error path on process_array() Namhyung Kim
2012-09-27  5:36   ` [tip:perf/core] " tip-bot for Namhyung Kim
2012-09-19  6:58 ` [PATCH 2/4] tools lib traceevent: Make sure that arg->op.right is set properly Namhyung Kim
2012-09-27  5:37   ` [tip:perf/core] tools lib traceevent: Make sure that arg->op. right " tip-bot for Namhyung Kim
2012-09-19  6:58 ` [PATCH 3/4] tools lib traceevent: Free field if an error occurs on process_fields Namhyung Kim
2012-09-27  5:38   ` [tip:perf/core] " tip-bot for Namhyung Kim
2012-09-19  6:58 ` [PATCH 4/4] tools lib traceevent: Free field if an error occurs on process_flags/symbols Namhyung Kim
2012-09-27  5:39   ` [tip:perf/core] " tip-bot for Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox