mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 19:53:48 +01:00
Delete mpeg objects properly, fixing double free.
This commit is contained in:
1 parent
b72ac7d7f0
commit
c94e821f00
1 file changed
+1
-1
@@ -409,7 +409,7 @@ int sceMpegDelete(u32 mpeg)
|
||||
|
||||
delete ctx->mediaengine;
|
||||
delete ctx;
|
||||
mpegMap.erase(mpeg);
|
||||
mpegMap.erase(Memory::Read_U32(mpeg));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user