memory leak, comments

This commit is contained in:
Dick Hollenbeck
2013-10-30 00:14:11 -05:00
parent 3e18a46758
commit 4b49d5d355
3 changed files with 13 additions and 9 deletions
+8 -6
View File
@@ -388,15 +388,17 @@ std::string FP_LIB_TABLE::FormatOptions( const PROPERTIES* aProperties )
// the separation between name and value is '='
if( value.size() )
{
ret += '=';
for( std::string::const_iterator si = value.begin(); si != value.end(); ++si )
{
// escape any separator in the value.
if( *si == OPT_SEP )
ret += '\\';
for( std::string::const_iterator si = value.begin(); si != value.end(); ++si )
{
// escape any separator in the value.
if( *si == OPT_SEP )
ret += '\\';
ret += *si;
ret += *si;
}
}
}
}