Dan Carpenter 0e2b807234 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>
2010-03-07 15:25:51 -08:00
..
2009-09-01 01:13:38 -07:00
2009-07-12 12:22:34 -07:00
2009-09-26 10:17:19 -07:00
2009-09-26 10:17:19 -07:00
2009-09-26 10:17:19 -07:00
2009-09-26 10:17:19 -07:00
2009-09-01 01:13:38 -07:00
2009-09-01 01:13:38 -07:00
2009-09-01 01:13:38 -07:00
2009-09-01 01:13:38 -07:00