mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-03 15:42:32 +00:00
Delete mpeg objects properly, fixing double free.
This commit is contained in:
parent
b72ac7d7f0
commit
c94e821f00
@ -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…
x
Reference in New Issue
Block a user