do not pass NULL to strdup.
authorGleb Natapov <gleb@redhat.com>
Wed, 2 Feb 2011 15:34:34 +0000 (17:34 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 4 Feb 2011 20:21:41 +0000 (21:21 +0100)
commit34258270c2833981524d21e37e0ba3ffe123cf9a
tree8119a5198bbb8ca519e62ef778e5a447f462456b
parent01e7d8fe5d451014257760f08f02e09965902daa
do not pass NULL to strdup.

Also use qemu_strdup() instead of strdup() in bootindex code.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
vl.c