diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-21 18:15:45 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-22 10:01:48 -0300 |
commit | 0b04b3dcdfb9aeb0e83c8ca322bf0830ee51ce38 (patch) | |
tree | 183b7008d41ce1f5feb7c840a2540d93a830e9e6 /lib/cpu-notifier-error-inject.c | |
parent | 89c7cb2cad5e5e3675df3ba1c12fe2f64dc691d6 (diff) |
perf evlist: Destructors should accept NULL
And do nothing, just like free(), to avoid having to test it in callers,
usually in error paths.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions