diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-22 10:02:16 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-22 10:02:16 -0300 |
commit | e1446551e60a7773c3acf3c55bb9449d70127882 (patch) | |
tree | 0d22b5b05ff2cd7b1ee01787a5f1474ccf057918 /lib/cpu-notifier-error-inject.c | |
parent | 0b04b3dcdfb9aeb0e83c8ca322bf0830ee51ce38 (diff) |
perf session: 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