Files
Arnaldo Carvalho de Melo 016f80305e perf scripting: Avoid leaking the scripting_context variable
commit cf346d5bd4b9d61656df2f72565c9b354ef3ca0d upstream.

Both register_perl_scripting() and register_python_scripting() allocate
this variable, fix it by checking if it already was.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Wang Nan <wangnan0@huawei.com>
Fixes: 7e4b21b84c ("perf/scripts: Add Python scripting engine")
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-06-08 00:46:56 +02:00
..
2013-03-25 16:13:26 -03:00
2013-03-25 16:13:26 -03:00
2012-12-09 08:46:07 -03:00
2013-01-30 10:40:05 -03:00
2013-03-15 14:01:26 -03:00
2012-10-02 18:36:24 -03:00
2012-08-03 10:37:21 -03:00
2013-03-13 17:00:33 -03:00
2012-05-17 12:32:54 -03:00
2012-12-11 17:22:39 -03:00