mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 05:31:14 -03:00
Removed some more halloc
This commit is contained in:
@@ -1772,8 +1772,9 @@ static int builtin_function( parser_t &parser, wchar_t **argv )
|
||||
{
|
||||
function_data_t *d = new function_data_t();
|
||||
|
||||
d->name=halloc_wcsdup( parser.current_block, name);
|
||||
d->description=desc?halloc_wcsdup( parser.current_block, desc):0;
|
||||
d->name = name;
|
||||
if (desc)
|
||||
d->description = desc;
|
||||
d->events.swap(events);
|
||||
d->shadows = shadows;
|
||||
if (named_arguments.get())
|
||||
|
||||
Reference in New Issue
Block a user