]> git.baikalelectronics.ru Git - kernel.git/commit
tools lib traceevent: Fix a risk for doing free on uninitialized pointer
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tue, 24 Jun 2014 11:09:10 +0000 (13:09 +0200)
committerJiri Olsa <jolsa@kernel.org>
Fri, 27 Jun 2014 09:14:47 +0000 (11:14 +0200)
commit3f6cafcc62e1c9c74d53c82093501f447dbd61b4
treed5f8c2b416aacc50ef7094a65059c56195ca8c60
parent6cec0a6f82fbdb3587afbdc09c3c61cd7d733696
tools lib traceevent: Fix a risk for doing free on uninitialized pointer

Fix a risk of doing free on an uninitialized pointer.

This was found using a static code analysis program called cppcheck.

Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Link: http://lkml.kernel.org/r/1403608150-13037-1-git-send-email-rickard_strandqvist@spectrumdigital.se
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/lib/traceevent/event-parse.c