mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-02 06:06:24 +00:00
Merge pull request #332 from unknownbrackets/mpeg-delete
Delete mpeg objects properly, fixing double free.
This commit is contained in:
commit
9a60fabc1e
@ -409,7 +409,7 @@ int sceMpegDelete(u32 mpeg)
|
||||
|
||||
delete ctx->mediaengine;
|
||||
delete ctx;
|
||||
mpegMap.erase(mpeg);
|
||||
mpegMap.erase(Memory::Read_U32(mpeg));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user