From 2c743173d35b7a34f3b65ebc0e4658ee063ddbed Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 23 Apr 2007 07:14:51 +1000 Subject: [PATCH] Fix minor memory leak on printing help for builtins darcs-hash:20070422211451-ac50b-42293b46e39cd5d0cfdf2ca63effe12faa048970.gz --- builtin.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin.c b/builtin.c index 4028be421..79a65d2b9 100644 --- a/builtin.c +++ b/builtin.c @@ -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 );