[FileTools] Make sure this isn't null first

This commit is contained in:
Matt Nadareski
2016-09-22 14:46:11 -07:00
parent 062d43b3c2
commit 9c57b1f68d

View File

@@ -569,8 +569,8 @@ namespace SabreTools.Helper
}
finally
{
fs.Close();
fs.Dispose();
fs?.Close();
fs?.Dispose();
}
return encounteredErrors;