mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-04-01 09:25:13 +08:00
Fix minor memory leak on printing help for builtins
darcs-hash:20070422211451-ac50b-42293b46e39cd5d0cfdf2ca63effe12faa048970.gz
This commit is contained in:
parent
003dfb99da
commit
2c743173d3
@ -228,6 +228,7 @@ wchar_t *builtin_help_get( const wchar_t *name )
|
||||
}
|
||||
}
|
||||
|
||||
al_foreach( &lst, &free );
|
||||
al_destroy( &lst );
|
||||
sb_destroy( &cmd );
|
||||
free( name_esc );
|
||||
|
Loading…
x
Reference in New Issue
Block a user