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

Fix memory leak.

[SVN r77502]
This commit is contained in:
Steven Watanabe
2012-03-23 16:52:48 +00:00
parent 74e780ea50
commit 94925e3069

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