mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Do not recycle filters list as it is not creating new filter instances
just reusing it.
This commit is contained in:
@@ -228,7 +228,7 @@ namespace DiscImageChef.ImagePlugins
|
||||
GDITrack currentTrack;
|
||||
densitySeparationSectors = 0;
|
||||
|
||||
FiltersList filtersList = new FiltersList();
|
||||
FiltersList filtersList;
|
||||
|
||||
while(gdiStream.Peek() >= 0)
|
||||
{
|
||||
@@ -253,6 +253,7 @@ namespace DiscImageChef.ImagePlugins
|
||||
TrackMatch.Groups["track"].Value, TrackMatch.Groups["start"].Value, TrackMatch.Groups["flags"].Value,
|
||||
TrackMatch.Groups["type"].Value, TrackMatch.Groups["filename"].Value, TrackMatch.Groups["offset"].Value, line);
|
||||
|
||||
filtersList = new FiltersList();
|
||||
currentTrack = new GDITrack();
|
||||
currentTrack.bps = ushort.Parse(TrackMatch.Groups["type"].Value);
|
||||
currentTrack.flags = (byte)(byte.Parse(TrackMatch.Groups["flags"].Value) * 0x10);
|
||||
|
||||
Reference in New Issue
Block a user