Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
PSP: Fixed memory leak if video init failed.
  • Loading branch information
philippwiesemann committed Aug 3, 2016
1 parent 9f97ee8 commit 82c94a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/psp/SDL_pspvideo.c
Expand Up @@ -92,6 +92,7 @@ PSP_Create()
if (gldata == NULL) {
SDL_OutOfMemory();
SDL_free(device);
SDL_free(phdata);
return NULL;
}
device->gl_data = gldata;
Expand Down

0 comments on commit 82c94a3

Please sign in to comment.