mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
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:
1 parent
cdfb3d2273
commit
b15d8a0cc6
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user