mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-12 07:57:22 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ wchar_t *builtin_help_get( const wchar_t *name )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
al_foreach( &lst, &free );
|
||||||
al_destroy( &lst );
|
al_destroy( &lst );
|
||||||
sb_destroy( &cmd );
|
sb_destroy( &cmd );
|
||||||
free( name_esc );
|
free( name_esc );
|
||||||
|
|
Loading…
Reference in a new issue