From: Masami Hiramatsu Date: Thu, 16 Jan 2014 09:39:47 +0000 (+0000) Subject: perf probe: Release all dynamically allocated parameters X-Git-Tag: v3.14-rc1~171^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e53b00d382f4d8f55bcae301f49863c469fdff65;p=pandora-kernel.git perf probe: Release all dynamically allocated parameters To fix a memory leak, release all dynamically allocated options/parameters in params data structure. This also introduces/exports some init/clear routines. Reported-by: David Ahern Signed-off-by: Masami Hiramatsu Cc: "David A. Long" Cc: "Steven Rostedt (Red Hat)" Cc: David Ahern Cc: Ingo Molnar Cc: Namhyung Kim Cc: Oleg Nesterov Cc: Srikar Dronamraju Cc: yrl.pp-manager.tt@hitachi.com Link: http://lkml.kernel.org/r/20140116093947.24403.80118.stgit@kbuild-fedora.novalocal Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed