2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Fix memory leak

[SVN r77503]
This commit is contained in:
Steven Watanabe
2012-03-23 17:12:46 +00:00
parent 8ee142c8c7
commit 29bad8e9cd

View File

@@ -688,9 +688,10 @@ static LIST * downcase_list( LIST * in )
for ( ; iter != end; iter = list_next( iter ) )
{
string_copy( s, object_str( list_item( iter ) ) );
string_append( s, object_str( list_item( iter ) ) );
downcase_inplace( s->value );
result = list_append( result, list_new( L0, object_new( s->value ) ) );
string_truncate( s, 0 );
}
string_free( s );