mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
lexer-rewrite rebase commit
This commit is contained in:
1 parent
bf86e59a76
commit
547e494f1b
25 files changed
+1214
-652
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2005,2007,2009 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2005,2007,2009,2010 Free Software Foundation, Inc.
|
||||
*
|
||||
* GRUB is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -34,7 +34,7 @@ grub_script_function_create (struct grub_script_arg *functionname_arg,
|
||||
if (! func)
|
||||
return 0;
|
||||
|
||||
func->name = grub_script_execute_argument_to_string (functionname_arg);
|
||||
func->name = grub_strdup (functionname_arg->str);
|
||||
if (! func->name)
|
||||
{
|
||||
grub_free (func);
|
||||
|
||||
Reference in new issue
Block a user