Fix minor memory leak on printing help for builtins

darcs-hash:20070422211451-ac50b-42293b46e39cd5d0cfdf2ca63effe12faa048970.gz
This commit is contained in:
axel 2007-04-23 07:14:51 +10:00
parent 003dfb99da
commit 2c743173d3

View file

@ -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 );