Add out of memory and zero size argument checks to be consistent with
commitd644f8beaa268a4e36b473f283f0b5a5ff66d8c2
authormalc <av1474@comtv.ru>
Wed, 8 Jul 2009 14:24:05 +0000 (8 18:24 +0400)
committermalc <av1474@comtv.ru>
Wed, 8 Jul 2009 14:24:05 +0000 (8 18:24 +0400)
treed7ba6ca3b2bb598a84241495484db89cc8ea01c5
parente8d2a88755b849bdadaf80d19e342eade3c017bc
Add out of memory and zero size argument checks to be consistent with
the qemu_malloc routines
osdep.c