Sanskriti Sharma faedbf3fd1 perf tools: Cleanup trace-event-info 'tdata' leak
Free tracing_data structure in tracing_data_get() error paths.

Fixes the following coverity complaint:

  Error: RESOURCE_LEAK (CWE-772):
  leaked_storage: Variable "tdata" going out of scope leaks the storage

Signed-off-by: Sanskriti Sharma <sansharm@redhat.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Joe Lawrence <joe.lawrence@redhat.com>
Link: http://lkml.kernel.org/r/1538490554-8161-3-git-send-email-sansharm@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-10-08 14:23:45 -03:00
..
2018-03-18 17:48:59 +01:00
2018-07-23 19:18:10 +01:00
2018-10-08 14:23:43 -03:00
2018-09-25 11:19:44 +02:00
2018-08-15 12:09:03 -07:00
2018-07-19 11:47:13 +01:00
2018-10-02 10:14:32 +02:00
2018-09-28 17:43:32 -07:00
2017-11-18 10:26:57 -08:00