[IRDA]: handle out of memory errors
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 7 Feb 2007 08:11:11 +0000 (00:11 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:39:07 +0000 (12:39 -0800)
This patch checks return value of memory allocation functions
for irda subsystem and fixes memory leaks in error cases.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found