perf thread_map: Free strlist on constructor error path

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1449716459-23004-7-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Namhyung Kim 2015-12-10 12:00:58 +09:00 committed by Arnaldo Carvalho de Melo
parent f8a5c0b24b
commit 7ecb48fde3

View File

@ -304,6 +304,7 @@ out:
out_free_threads:
zfree(&threads);
strlist__delete(slist);
goto out;
}