[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)
commitbb5aa42734e72b3f02fc0b3cdd6105083f9880f1
tree3aa983ae94ce1383426455439610e664823dcb7f
parent22f8cde5bc336fd19603bb8c4572b33d14f14f87
[IRDA]: handle out of memory errors

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>
net/irda/irias_object.c