diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-07 02:35:42 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-07 23:25:51 (GMT) |
commit | 0e2b807234c42fab59f98ec913db30dfda0e63a7 (patch) | |
tree | cbfc388f8028fac2da91bc61b97b8dff82d34732 /tools/perf/builtin-bench.c | |
parent | 72150e9b7fec217fbd646a29ea2f65a3d4d55ea9 (diff) | |
download | linux-fsl-qoriq-0e2b807234c42fab59f98ec913db30dfda0e63a7.tar.xz |
irda-usb: add error handling and fix leak
If the call to kcalloc() fails then we should return -ENOMEM.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/builtin-bench.c')
0 files changed, 0 insertions, 0 deletions