Adrian Hunter 418029b732 perf machine: Fix leak of 'struct thread' on error path
__machine__findnew_thread() creates a 'struct thread' but does not free
it on the error path. Fix it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1405495184-20441-3-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-07-17 10:34:07 -03:00
..
2014-05-01 21:22:39 +02:00
2013-12-27 15:17:00 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2011-02-16 13:30:48 +01:00
2014-01-13 11:37:17 -03:00
2014-01-13 11:37:17 -03:00
2012-02-13 23:17:40 -02:00
2014-07-16 17:57:37 -03:00
2014-07-16 17:57:37 -03:00
2014-05-01 21:22:39 +02:00
2014-06-09 13:34:49 +02:00
2014-06-09 13:34:49 +02:00
2014-07-16 17:57:33 -03:00
2014-05-21 11:48:33 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-06-09 13:34:49 +02:00
2013-08-07 17:35:26 -03:00
2014-05-01 21:22:39 +02:00
2014-07-10 00:22:54 +02:00
2014-07-10 00:22:54 +02:00
2013-09-11 10:09:32 -03:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00
2014-05-01 21:22:39 +02:00