mirror of
https://github.com/libretro/RetroArch
synced 2024-12-27 15:29:23 +00:00
fix the Memory leak: psp (#16016)
fix the Memory leak: psp Signed-off-by: zengwei zengwei1@uniontech.com Signed-off-by: zengwei zengwei1@uniontech.com
This commit is contained in:
parent
4abd4e8d27
commit
df05f6e0eb
@ -136,7 +136,10 @@ static void *psp_audio_init(const char *device,
|
||||
return NULL;
|
||||
|
||||
if ((port = configureAudio(rate)) < 0)
|
||||
{
|
||||
free(psp);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if defined(ORBIS)
|
||||
sceAudioOutInit();
|
||||
|
Loading…
Reference in New Issue
Block a user