2008-08-01 Bean <bean123ch@gmail.com>

* normal/menu_entry.c (editor_getline): Don't return the original
	string as result, as it will be released by lexer once it has done
	using it.
This commit is contained in:
bean 2008-08-01 18:18:32 +00:00
parent cdfb3d2273
commit b15d8a0cc6
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-08-01 Bean <bean123ch@gmail.com>
* normal/menu_entry.c (editor_getline): Don't return the original
string as result, as it will be released by lexer once it has done
using it.
2008-08-01 Robert Millan <rmh@aybabtu.com>
* util/grub.d/10_linux.in: Use prepare_grub_to_access_device() from

View file

@ -996,7 +996,7 @@ run (struct screen *screen)
linep->len = p - linep->buf;
for (p = linep->buf; grub_isspace (*p); p++)
;
*line = p;
*line = grub_strdup (p);
currline++;
return 0;
}