some bug fixes

This commit is contained in:
BVK Chaitanya 2010-01-23 10:14:32 +05:30
parent 836727564e
commit 1a0c3b4809
2 changed files with 4 additions and 4 deletions

View file

@ -139,7 +139,7 @@ append_newline (const char *src)
grub_size_t len;
len = grub_strlen (src);
line = grub_malloc (len + 1);
line = grub_malloc (len + 2);
if (!line)
return 0;