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

Fix memory leak.

[SVN r77502]
This commit is contained in:
Steven Watanabe
2012-03-23 16:52:48 +00:00
parent b5fe2210e5
commit 8ee142c8c7

View File

@@ -1568,7 +1568,12 @@ LIST * builtin_normalize_path( FRAME * frame, int flags )
*/
if ( dotdots )
{
if ( rooted ) return L0;
if ( rooted )
{
string_free( out );
string_free( in );
return L0;
}
do
string_append( out, "/.." );
while ( --dotdots );