Gericom / EveryFileExplorer

Takes hacking to a higher level!
184 stars 34 forks source link

Not calling Bitmap.UnlockBits in Textures.cs #36

Open evandixon opened 6 years ago

evandixon commented 6 years ago

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.