From: Namhyung Kim Date: Wed, 19 Sep 2012 06:58:42 +0000 (+0900) Subject: tools lib traceevent: Make sure that arg->op.right is set properly X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~3^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41e51a289b3ca83e08395213f4488c9c7c6b2e29;p=pandora-kernel.git tools lib traceevent: Make sure that arg->op.right is set properly When process_op failed, @arg will be freed on a caller with type of PRINT_OP. Thus free_arg() will try to free ->op.right field which can have stale value if something bad happens in the middle. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1348037924-17568-3-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed