diff options
author | Chris Samuel <[email protected]> | 2010-11-13 13:35:06 +1100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-12-06 12:52:35 -0200 |
commit | ce47dc56a2241dc035160a85bc5e34283cdd622c (patch) | |
tree | d9404df9d3ca0ddacdd8faae791ece27206dece4 /net/unix/af_unix.c | |
parent | 965bb6beaf70862d3846e330ea7a14996d82c499 (diff) |
perf tools: Catch a few uncheck calloc/malloc's
There were a few stray calloc()'s and malloc()'s which were not having
their return values checked for success.
As the calling code either already coped with failure or didn't actually
care we just return -ENOMEM at that point.
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Chris Samuel <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions