mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Delete mpeg objects properly, fixing double free.
This commit is contained in:
parent
b72ac7d7f0
commit
c94e821f00
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue