Revision 8ba29adf9a7cdff3c7283d5fc0dcf5e777d3b40f authored by Namhyung Kim on 08 June 2017, 07:31:06 UTC, committed by Arnaldo Carvalho de Melo on 08 June 2017, 18:39:13 UTC
On failure, it should free the 'name', so clean up the error path using
goto.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: kernel-team@lge.com
Link: http://lkml.kernel.org/r/20170608073109.30699-7-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 1d6b3c9
History
File Mode Size
README.txt -rw-r--r-- 1.2 KB
atomic-ops.txt -rw-r--r-- 4.5 KB
booting.txt -rw-r--r-- 5.8 KB
clock.txt -rw-r--r-- 2.4 KB
configuring.txt -rw-r--r-- 4.0 KB
features.txt -rw-r--r-- 10.6 KB
gdbinit -rw-r--r-- 11.4 KB
gdbstub.txt -rw-r--r-- 4.7 KB
kernel-ABI.txt -rw-r--r-- 9.2 KB
mmu-layout.txt -rw-r--r-- 13.9 KB

README.txt

back to top