EveryFileExplorer icon indicating copy to clipboard operation
EveryFileExplorer copied to clipboard

Not calling Bitmap.UnlockBits in Textures.cs

Open evandixon opened this issue 7 years ago • 0 comments

Regarding this line: https://github.com/Gericom/EveryFileExplorer/blob/f9f00d193c9608d71c9a23d9f3ab7e752f4ada2a/3DS/GPU/Textures.cs#L473

There's no corresponding UnlockBits call. Picture.UnlockBits(d); needs to be added before line 591, or else a memory leak or access violation could occur.

evandixon avatar May 14 '18 23:05 evandixon