dtinfo: Fix coverity issues for resource leaks
This commit is contained in:
@@ -149,6 +149,7 @@ SearchPath::get_real_path( const char *file_name )
|
||||
fclose( fp );
|
||||
return ( full_path_name );
|
||||
}
|
||||
fclose( fp );
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
@@ -533,6 +533,7 @@ void StyleTask::write_record( void )
|
||||
else {
|
||||
Token::signalError(Token::User, Token::Continuable, 0, 0,
|
||||
"Duplicate stylesheet id `%s'", localstr);
|
||||
delete bogus;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user