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
devices
joydev
conf.py -rw-r--r-- 225 bytes
event-codes.rst -rw-r--r-- 14.7 KB
ff.rst -rw-r--r-- 7.5 KB
gamepad.rst -rw-r--r-- 7.3 KB
gameport-programming.rst -rw-r--r-- 6.0 KB
index.rst -rw-r--r-- 268 bytes
input-programming.rst -rw-r--r-- 10.4 KB
input.rst -rw-r--r-- 8.9 KB
input_kapi.rst -rw-r--r-- 277 bytes
input_uapi.rst -rw-r--r-- 330 bytes
interactive.svg -rw-r--r-- 3.3 KB
multi-touch-protocol.rst -rw-r--r-- 17.2 KB
notifier.rst -rw-r--r-- 1.8 KB
shape.svg -rw-r--r-- 5.5 KB
uinput.rst -rw-r--r-- 6.6 KB
userio.rst -rw-r--r-- 2.9 KB

back to top