diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2013-12-26 18:54:57 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-12-26 18:58:52 +0000 |
| commit | f5385650c02cd4373c4124c8a8fac3b5f9851e7f (patch) | |
| tree | 93d2a59ebf378289abf9853ab2da49c70ac80633 /tools/lib/traceevent/plugin_function.c | |
| parent | perf ui/tui: Implement header window (diff) | |
| download | kernel-f5385650c02cd4373c4124c8a8fac3b5f9851e7f.tar.gz kernel-f5385650c02cd4373c4124c8a8fac3b5f9851e7f.zip | |
perf tools: No need to test against NULL before calling free()
Its perfectly fine to call free(NULL), so no need to clutter the source
code with all those superfluous testing.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
0 files changed, 0 insertions, 0 deletions
