]> bbs.cooldavid.org Git - net-next-2.6.git/commit
staging: hv: check kzalloc() result
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:13:51 +0000 (20:13 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 21:33:00 +0000 (14:33 -0700)
commite3eb7cdd111eec56d201c4a2b20b743c746b6d99
tree738e67b76cf63dea283e7dee3ad6efffb2e345a1
parentb99e1943fd416a5889300fe0fe58367aa3e5705f
staging: hv: check kzalloc() result

If kzalloc() fails free allocated resources and exit.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/channel.c