Changeset 1692 for trunk/eraser6


Ignore:
Timestamp:
1/26/2010 1:07:59 AM (5 years ago)
Author:
lowjoel
Message:

When copying the plausible deniability file, dispose the created stream when we're done with it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.DefaultPlugins/FileSystems/Windows.cs

    r1675 r1692  
    8686            if (Manager.ManagerLibrary.Settings.PlausibleDeniability) 
    8787            { 
    88                 CopyPlausibleDeniabilityFile(info.OpenWrite()); 
     88                using (FileStream fileStream = info.OpenWrite()) 
     89                    CopyPlausibleDeniabilityFile(fileStream); 
    8990            } 
    9091 
Note: See TracChangeset for help on using the changeset viewer.